UI UI\Draw\Path
(UI 0.9.9)
소개
그리기 경로는 그리기 펜을 안내하여 펜이 영역에서 그릴 위치를 알려줍니다.
클래스 개요
class UI\Draw\Path {
/* Constants */
const int Winding;
const int Alternate;
/* Constructor */
public __construct(int $mode = UI\Draw\Path::Winding)
/* Methods */
public addRectangle(UI\Point $point, UI\Size $size)
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 closeFigure()
public end()
public lineTo(
UI\Point $point,
float $radius,
float $angle,
float $sweep,
float $negative
)
public newFigure(UI\Point $point)
public newFigureWithArc(
UI\Point $point,
float $radius,
float $angle,
float $sweep,
float $negative
)
}
미리 정의된 상수
UI\Draw\Path::Winding
- 이것은 기본 그리기 경로 모드입니다.
UI\Draw\Path::Alternate
- 이것은 대체 그리기 경로 모드입니다.
목차
- UI\Draw\Path::addRectangle — Draw a Rectangle
- UI\Draw\Path::arcTo — Draw an Arc
- UI\Draw\Path::bezierTo — Draw Bezier Curve
- UI\Draw\Path::closeFigure — Close Figure
- UI\Draw\Path::__construct — Construct a new Path
- UI\Draw\Path::end — Finalize Path
- UI\Draw\Path::lineTo — Draw a Line
- UI\Draw\Path::newFigure — Draw Figure
- UI\Draw\Path::newFigureWithArc — Draw Figure with Arc