Draw Path
(PHP 7, UI 0.9.9)
简介
A Draw Path guides a Draw Pen, telling the Pen where to draw on an Area.
类摘要
UI\Draw\Path
{
public __construct
([
integer $mode
= UI\Draw\Path::Winding
] )
public arcTo
(
UI\Point $point
,
float $radius
,
float $angle
,
float $sweep
,
float $negative
)
public bezierTo
(
UI\Point $point
,
float $radius
,
float $angle
,
float $sweep
,
float $negative
)
public lineTo
(
UI\Point $point
,
float $radius
,
float $angle
,
float $sweep
,
float $negative
)
public newFigureWithArc
(
UI\Point $point
,
float $radius
,
float $angle
,
float $sweep
,
float $negative
)
}
预定义常量
UI\Draw\Path::Winding
-
This is the default draw path mode
UI\Draw\Path::Alternate
-
This is the alternate draw path mode
Table of Contents
User Contributed Notes
There are no user contributed notes for this page.