Шлях малювання

(UI 0.9.9)

Вступ

Шлях малювання спрямовує перо, де малювати по області

Огляд класів




    
     
      class UI\Draw\Path
     
     {

    /* Константы */
    
     const
     int
      Winding;

    const
     int
      Alternate;


    /* Конструктор */
    
   public __construct(int $mode = UI\Draw\Path::Winding)


    /* Методы */
    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

Це альтернативний режим малювання

Зміст