| Package | com.yworks.graph.drawing.compat |
| Class | public class JavaShapeNodeStyle |
| Inheritance | JavaShapeNodeStyle AbstractJavaNodeStyle |
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
Get or set the style's fill color
| AbstractJavaNodeStyle | |
![]() | fillColor2 : SolidColor
Get or set the style's second gradient fill color
| AbstractJavaNodeStyle | |
![]() | lineType : LineType
Get or set the style's line type.
| AbstractJavaNodeStyle | |
| shapeNodeShape : uint
Get or set this style's shape.
| JavaShapeNodeStyle | ||
![]() | styleRenderer : IStyleRenderer
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
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 | ||
|---|---|---|---|
|
Callback that creates the cloned instance for the clone() method.
| JavaShapeNodeStyle | ||
| dropShadowColor | property |
dropShadowColor:SolidColor [read-write]Get or set this style's drop shadow color
Implementation public function get dropShadowColor():SolidColor
public function set dropShadowColor(value:SolidColor):void
See also
| dropShadowOffsetX | property |
dropShadowOffsetX:int [read-write]Get or set this style's horizontal drop shadow offset.
Implementation public function get dropShadowOffsetX():int
public function set dropShadowOffsetX(value:int):void
See also
| dropShadowOffsetY | property |
dropShadowOffsetY:int [read-write]Get or set this style's vertical drop shadow offset.
Implementation public function get dropShadowOffsetY():int
public function set dropShadowOffsetY(value:int):void
See also
| shapeNodeShape | property |
shapeNodeShape:uint [read-write]Get or set this style's shape.
Implementation 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 |
public override function clone():ObjectCreates a clone of this instance.
ReturnsObject — A clone of this instance.
|
| createClone | () | method |
protected override function createClone():AbstractJavaNodeStyleCallback that creates the cloned instance for the clone() method.
ReturnsAbstractJavaNodeStyle |
| isDropShadowVisible | () | method |
public function isDropShadowVisible():BooleanQueries 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.
|