| 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:SolidColorGet or set this style's drop shadow color
public function get dropShadowColor():SolidColor public function set dropShadowColor(value:SolidColor):voidSee also
| dropShadowOffsetX | property |
dropShadowOffsetX:intGet or set this style's horizontal drop shadow offset.
public function get dropShadowOffsetX():int public function set dropShadowOffsetX(value:int):voidSee also
| dropShadowOffsetY | property |
dropShadowOffsetY:intGet or set this style's vertical drop shadow offset.
public function get dropShadowOffsetY():int public function set dropShadowOffsetY(value:int):voidSee also
| shapeNodeShape | property |
shapeNodeShape:uintGet or set this style's shape.
public function get shapeNodeShape():uint public function set shapeNodeShape(value:uint):voidSee 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():ObjectCreates a clone of this instance.
ReturnsObject — A clone of this instance.
|
| createClone | () | method |
override protected 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.
|