Packagecom.yworks.canvas.drawing
Classpublic class EqualWidthPaintable
InheritanceEqualWidthPaintable Inheritance EqualSizePaintable Inheritance Object

Visualizes an equal width resize gesture by drawing a horizontal double-pointed arrow above 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
  
[override] Draws a horizontal double-pointed arrow above each rectangle using the set stroke.
EqualWidthPaintable
Method Detail
paint()method
override public function paint(g:YGraphics, ctx:IPaintContext):void

Draws a horizontal double-pointed arrow above each rectangle using the set stroke.

Parameters

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

See also