| Package | com.yworks.graph.drawing.compat |
| Class | public class JavaImageNodeStyle |
| Inheritance | JavaImageNodeStyle AbstractJavaNodeStyle |
This style corresponds to the ImageNodeRealizer in yFiles Java.
| Property | Defined by | ||
|---|---|---|---|
| base64 : String [write-only]
Get or set the base64 string that encodes the image that should be
displayed by this style.
| JavaImageNodeStyle | ||
![]() | fillColor : SolidColor
Get or set the style's fill color
| AbstractJavaNodeStyle | |
![]() | fillColor2 : SolidColor
Get or set the style's second gradient fill color
| AbstractJavaNodeStyle | |
| image : DisplayObject | JavaImageNodeStyle | ||
| imageURL : String | JavaImageNodeStyle | ||
![]() | lineType : LineType
Get or set the style's line type.
| AbstractJavaNodeStyle | |
![]() | 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 | ||
|---|---|---|---|
|
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 | |
| base64 | property |
base64:String [write-only]Get or set the base64 string that encodes the image that should be displayed by this style.
Implementation public function set base64(value:String):void
| image | property |
image:DisplayObject [read-write]Implementation
public function get image():DisplayObject
public function set image(value:DisplayObject):void
| imageURL | property |
imageURL:String [read-write]Implementation
public function get imageURL():String
public function set imageURL(value:String):void
| 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.
|