« UI\Controls\Box::setPadded
UI\Draw\Pen::clip »

Draw Pen

(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 class UI\Draw\Pen {
/* メソッド */
public function clip(UI\Draw\Path $path)
public function fill(UI\Draw\Path $path, UI\Draw\Brush $with)
public function fill(UI\Draw\Path $path, UI\Draw\Color $with)
public function fill(UI\Draw\Path $path, int $with)
public function restore()
public function save()
public function stroke(UI\Draw\Path $path, UI\Draw\Brush $with, UI\Draw\Stroke $stroke)
public function stroke(UI\Draw\Path $path, UI\Draw\Color $with, UI\Draw\Stroke $stroke)
public function stroke(UI\Draw\Path $path, int $with, UI\Draw\Stroke $stroke)
public function transform(UI\Draw\Matrix $matrix)
public function write(UI\Point $point, UI\Draw\Text\Layout $layout)
}

目次

関連キーワード:
Draw   Path   path   stroke   fill   Stroke   clip   Brush   Color   restore   save   transform   Matrix   write   Point   Text   Controls   setPadded   passed   Area   event   handler   used   clipping   filling
関連する関数・ページ:
ui-draw-pen.stroke   ui-draw-pen.fill   ui-draw-pen.clip   ui-draw-path.construct   ui-draw-path.end   ui-draw-path.closefigure