Php/docs/class.ui-draw-pen
From Get docs
(UI 0.9.9)
Introduction
The Pen is passed to the Area Draw event handler, it is used for clipping, filling, stroking, and writing to Draw Paths.
Class synopsis
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
, int $with
)
public restore ( )
public save ( )
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
, int $with
, UI\Draw\Stroke $stroke
)
public transform
( UI\Draw\Matrix $matrix
)
public write
( UI\Point $point
, UI\Draw\Text\Layout $layout
)
}
Table of Contents
- UI\Draw\Pen::clip — Clip a Path
- UI\Draw\Pen::fill — Fill a Path
- UI\Draw\Pen::restore — Restore
- UI\Draw\Pen::save — Save
- UI\Draw\Pen::stroke — Stroke a Path
- UI\Draw\Pen::transform — Matrix Transform
- UI\Draw\Pen::write — Draw Text at Point
/* Methods */