New to Kendo UI for Angular? Start a free 30-day trial
Represents an Image element for displaying images in SVG.
Extends the Element class to provide image-specific functionality.
Name | Type | Default | Description |
---|
|
any
|
|
|
string
|
|
|
any
|
|
(options: any)
Creates a new Image instance.
any
Configuration options for the image including source, position, and size
|
---|
Gets the drawing container for this element.
|
Returns | |
---|
any
|
The drawing element container
|
|
|
---|
Gets or sets the position of the element.
|
Parameters | | |
---|
x
|
any
|
The x coordinate or Point object, or undefined to get current position
|
y?
|
any
|
The y coordinate when x is a number
|
|
Returns | |
---|
Point
|
The current position as a Point when called as getter
|
|
|
---|
Redraws the image with updated options.
|
Parameters | | |
---|
options
|
any
|
Updated configuration options
|
|
|
---|
Gets or sets the rotation of the element.
|
Parameters | | |
---|
angle
|
any
|
The rotation angle in radians, or undefined to get current rotation
|
center
|
any
|
The center point for rotation
|
|
Returns | |
---|
Rotation
|
The current rotation when called as getter
|
|
|
---|
Gets or sets the visibility of the element.
|
Parameters | | |
---|
value
|
any
|
The visibility value to set, or undefined to get current visibility
|
|
Returns | |
---|
any
|
The current visibility state when called as getter
|
|