Package | com.yworks.graph.drawing.compat |
Class | public class JavaImageNodeStyle |
Inheritance | JavaImageNodeStyle AbstractJavaNodeStyle Object |
This style corresponds to the ImageNodeRealizer in yFiles Java.
Property | Defined By | ||
---|---|---|---|
base64 : String [write-only]
The base64 string that encodes the image that should be
displayed by this style. | JavaImageNodeStyle | ||
fillColor : SolidColor
The style's fill color
| AbstractJavaNodeStyle | ||
fillColor2 : SolidColor
The style's second gradient fill color
| AbstractJavaNodeStyle | ||
image : DisplayObject
The style's image. | JavaImageNodeStyle | ||
imageURL : String
The url where this style's image will be loaded from. | JavaImageNodeStyle | ||
lineType : LineType
The style's line type. | AbstractJavaNodeStyle | ||
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 | ||
---|---|---|---|
JavaImageNodeStyle(renderer:JavaImageNodeStyleRenderer = null)
Creates a new instance of this. | JavaImageNodeStyle | ||
clone():Object
Creates a clone of this instance. | AbstractJavaNodeStyle | ||
Prepares the rendering of an IModelItem in a CanvasComponent by
adding ICanvasObject's to the provided canvas. | AbstractJavaNodeStyle |
Method | Defined By | ||
---|---|---|---|
[override]
Creates a clone instance of this. | JavaImageNodeStyle |
base64 | property |
base64:String
[write-only] The base64 string that encodes the image that should be displayed by this style.
public function set base64(value:String):void
image | property |
image:DisplayObject
The style's image.
public function get image():DisplayObject
public function set image(value:DisplayObject):void
imageURL | property |
imageURL:String
The url where this style's image will be loaded from.
public function get imageURL():String
public function set imageURL(value:String):void
See also
JavaImageNodeStyle | () | Constructor |
public function JavaImageNodeStyle(renderer:JavaImageNodeStyleRenderer = null)
Creates a new instance of this.
Parametersrenderer:JavaImageNodeStyleRenderer (default = null ) — A custom style renderer. If none is provided, a new JavaImageNodeStyleRenderer instance will be used.
|
createClone | () | method |
override protected function createClone():AbstractJavaNodeStyle
Creates a clone instance of this.
ReturnsAbstractJavaNodeStyle — A clone instance of this.
|