Draw Pen
(PHP 7, UI 0.9.9)
¼ò½é
The Pen is passed to the Area Draw event handler, it is used for clipping, filling, stroking, and writing to Draw Paths.
ÀàÕªÒª
final
UI\Draw\Pen
{
public clip
(
UI\Draw\Path $path
)
public fill
(
UI\Draw\Path $path
,
UI\Draw\Brush $with
)
public fill
(
UI\Draw\Path $path
,
UI\Draw\Color $with
)
public fill
(
UI\Draw\Path $path
,
integer $with
)
public stroke
(
UI\Draw\Path $path
,
UI\Draw\Brush $with
,
UI\Draw\Stroke $stroke
)
public stroke
(
UI\Draw\Path $path
,
UI\Draw\Color $with
,
UI\Draw\Stroke $stroke
)
public stroke
(
UI\Draw\Path $path
,
integer $with
,
UI\Draw\Stroke $stroke
)
public write
(
UI\Point $point
,
UI\Draw\Text\Layout $layout
)
}
Table of Contents
User Contributed Notes
There are no user contributed notes for this page.