| Package | com.yworks.canvas.drawing |
| Class | public class EqualSizePaintable |
| Inheritance | EqualSizePaintable Object |
| Implements | IPaintable |
| Subclasses | EqualHeightPaintable, EqualWidthPaintable |
| Property | Defined By | ||
|---|---|---|---|
| rectangles : Iterable
An Iterable of IRectangles containing the bounds of the resized objects
as well as the bounds of the (non-resizing) rectangular objects the snapped size was based upon. | EqualSizePaintable | ||
| size : Number
The size the resized object snapped to. | EqualSizePaintable | ||
| stroke : IStroke
The stroke used in the paint method. | EqualSizePaintable | ||
| Method | Defined By | ||
|---|---|---|---|
This implementation does nothing and has to be overridden by it's subclasses. | EqualSizePaintable | ||
| rectangles | property |
rectangles:Iterable
An Iterable of IRectangles containing the bounds of the resized objects
as well as the bounds of the (non-resizing) rectangular objects the snapped size was based upon.
public function get rectangles():Iterable public function set rectangles(value:Iterable):void| size | property |
size:NumberThe size the resized object snapped to.
public function get size():Number public function set size(value:Number):void| stroke | property |
stroke:IStroke
The stroke used in the paint method.
public function get stroke():IStroke public function set stroke(value:IStroke):voidSee also
| paint | () | method |
public function paint(g:YGraphics, ctx:IPaintContext):voidThis implementation does nothing and has to be overridden by it's subclasses.
Parameters
g:YGraphics | |
ctx:IPaintContext |