| Package | com.yworks.graph.drawing |
| Interface | public interface IIcon |
| Implementors | ImageIcon |
| Property | Defined By | ||
|---|---|---|---|
| height : Number [read-only]
The height of the icon. | IIcon | ||
| width : Number [read-only]
The width of the icon. | IIcon | ||
| Method | Defined By | ||
|---|---|---|---|
Paint the icon onto the graphics context at the given position. | IIcon | ||
| height | property |
height:Number [read-only] The height of the icon.
public function get height():Number| width | property |
width:Number [read-only] The width of the icon.
public function get width():Number| paint | () | method |
public function paint(g:YGraphics, x:Number, y:Number):voidPaint the icon onto the graphics context at the given position.
Parameters
g:YGraphics — The graphics to render into.
| |
x:Number — The top left x coordinate of the icon.
| |
y:Number — The top left y coordinate of the icon.
|