Packagecom.yworks.canvas.drawing
Classpublic class EqualHeightPaintable
InheritanceEqualHeightPaintable Inheritance EqualSizePaintable Inheritance Object

Visualizes an equal height resize gesture by drawing a vertical double-pointed arrow on the right-hand side of each rectangle.



Public Properties
 PropertyDefined By
 Inheritedrectangles : 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
 Inheritedsize : Number
The size the resized object snapped to.
EqualSizePaintable
 Inheritedstroke : IStroke
The stroke used in the paint method.
EqualSizePaintable
Public Methods
 MethodDefined By
 Inherited
Creates a new DisplayObject from scratch.
EqualSizePaintable
  
[override] Draws a vertical double-pointed arrow on the right-hand side of each rectangle using the set stroke.
EqualHeightPaintable
 Inherited
updateDisplayObject(oldDisplayObject:DisplayObject, context:IDisplayObjectContext):DisplayObject
Updates the given DisplayObject or creates a new one.
EqualSizePaintable
Method Detail
paint()method
override public function paint(g:YGraphics, ctx:IPaintContext):void

Draws a vertical double-pointed arrow on the right-hand side of each rectangle using the set stroke.

Parameters

g:YGraphics — The graphics object to paint upon.
 
ctx:IPaintContext — The paint context.

See also