HaruPage::getLineCap

(PECL haru >= 0.0.1)
Get the current line cap style
int HaruPage::getLineCap ( void )

Get the current line cap style.

Returns:

Returns the current line cap style. The result value is one of the following:

  • HaruPage::BUTT_END - the line is squared off at the endpoint of the path.
  • HaruPage::ROUND_END - the end of the line becomes a semicircle with center in the end point of the path.
  • HaruPage::PROJECTING_SCUARE_END - the line continues to the point that exceeds half of the stroke width the end point.
Exception:

Throws a HaruException on error.

See also:

HaruPage::setLineCap() -

doc_php
2016-02-24 16:03:21
Comments
Leave a Comment

Please login to continue.