Package | com.yworks.graph.drawing.compat |
Class | public class JavaShapeNodeStyle |
Inheritance | JavaShapeNodeStyle AbstractJavaNodeStyle Object |
Subclasses | JavaGroupNodeStyle |
This style corresponds to the ShapeNodeRealizer in yFiles Java.
Property | Defined By | ||
---|---|---|---|
dropShadowColor : SolidColor
Get or set this style's drop shadow color
| JavaShapeNodeStyle | ||
dropShadowOffsetX : int
Get or set this style's horizontal drop shadow offset. | JavaShapeNodeStyle | ||
dropShadowOffsetY : int
Get or set this style's vertical drop shadow offset. | JavaShapeNodeStyle | ||
fillColor : SolidColor
The style's fill color
| AbstractJavaNodeStyle | ||
fillColor2 : SolidColor
The style's second gradient fill color
| AbstractJavaNodeStyle | ||
lineType : LineType
The style's line type. | AbstractJavaNodeStyle | ||
shapeNodeShape : uint
Get or set this style's shape. | JavaShapeNodeStyle | ||
styleRenderer : IStyleRenderer [read-only]
Gets the renderer implementation that has been supplied to
this instance upon creation. | AbstractJavaNodeStyle | ||
transparent : Boolean
Gets or sets the transparent property. | AbstractJavaNodeStyle |
Method | Defined By | ||
---|---|---|---|
JavaShapeNodeStyle(styleRenderer:JavaShapeNodeStyleRenderer = null, shapeNodeShape:int = -1)
Creates a new instance. | JavaShapeNodeStyle | ||
clone():Object [override]
Creates a clone of this instance. | JavaShapeNodeStyle | ||
Prepares the rendering of an IModelItem in a CanvasComponent by
adding ICanvasObject's to the provided canvas. | AbstractJavaNodeStyle | ||
isDropShadowVisible():Boolean
Queries whether or not the drop shadow is visible. | JavaShapeNodeStyle |
Method | Defined By | ||
---|---|---|---|
[override]
Callback that creates the cloned instance for the clone() method. | JavaShapeNodeStyle |
dropShadowColor | property |
dropShadowColor:SolidColor
Get or set this style's drop shadow color
public function get dropShadowColor():SolidColor
public function set dropShadowColor(value:SolidColor):void
See also
dropShadowOffsetX | property |
dropShadowOffsetX:int
Get or set this style's horizontal drop shadow offset.
public function get dropShadowOffsetX():int
public function set dropShadowOffsetX(value:int):void
See also
dropShadowOffsetY | property |
dropShadowOffsetY:int
Get or set this style's vertical drop shadow offset.
public function get dropShadowOffsetY():int
public function set dropShadowOffsetY(value:int):void
See also
shapeNodeShape | property |
shapeNodeShape:uint
Get or set this style's shape.
public function get shapeNodeShape():uint
public function set shapeNodeShape(value:uint):void
See also
JavaShapeNodeStyle | () | Constructor |
public function JavaShapeNodeStyle(styleRenderer:JavaShapeNodeStyleRenderer = null, shapeNodeShape:int = -1)
Creates a new instance.
ParametersstyleRenderer:JavaShapeNodeStyleRenderer (default = null ) — The style renderer to be used.
If none is provided, a new instance of JavaShapeNodeSyleRenderer will be used.
| |
shapeNodeShape:int (default = -1 ) — The shape of the node as defined in ShapeNodeShape
If none is provided, ShapeNodeShape.rectangle will be used.
|
See also
clone | () | method |
override public function clone():Object
Creates a clone of this instance.
ReturnsObject — A clone of this instance.
|
createClone | () | method |
override protected function createClone():AbstractJavaNodeStyle
Callback that creates the cloned instance for the clone() method.
ReturnsAbstractJavaNodeStyle |
isDropShadowVisible | () | method |
public function isDropShadowVisible():Boolean
Queries whether or not the drop shadow is visible. Visibility depends on the offset and color of the drop shadow.
ReturnsBoolean — true if the drop shadow is visible.
|