|
Drag[en]gine Script Module DragonScript 1.32.1
|
Canvas image. More...
Public Member Functions | |
Constructors | |
| CanvasImage | new () |
| Create canvas image. | |
Management | |
| Image | getImage () |
| Image or null if not set. | |
| void | setImage (Image image) |
| Set image or null to unset. | |
| int | getRepeatX () |
| Repeat count along X axis. | |
| void | setRepeatX (int count) |
| Set repeat count along X axis. | |
| int | getRepeatY () |
| Repeat count along Y axis. | |
| void | setRepeatY (int count) |
| Set repeat count along Y axis. | |
| bool | equals (Object other) |
| Canvas is equal to another object. | |
| int | hashCode () |
| Hash code for use as dictionary keys. | |
Public Member Functions inherited from Dragengine.Scenery.Canvas | |
| Point | getPosition () |
| Position in parent canvas view units. | |
| void | setPosition (Point position) |
| Set position in parent canvas view units. | |
| Point | getSize () |
| Size in parent canvas view units. | |
| void | setSize (Point size) |
| Set size in parent canvas view units. | |
| TexMatrix2 | getTransform () |
| Transformation matrix affecting the canvas and all its content. | |
| void | setTransform (TexMatrix2 transform) |
| Set transformation matrix affecting the canvas and all its content. | |
| ColorMatrix | getColorTransform () |
| Color transformation matrix affecting the canvas and all its content. | |
| void | setColorTransform (ColorMatrix transform) |
| Set color transformation matrix affecting the canvas and all its content. | |
| bool | getVisible () |
| Canvas is visible. | |
| void | setVisible (bool visible) |
| Set if canvas is visible. | |
| float | getOrder () |
| Render order. Larger renders ontop of smaller. | |
| void | setOrder (float order) |
| Set render order. Larger renders ontop of smaller. | |
| float | getTransparency () |
| Transparency in the range from 0 to 1 where 1 is opaque and 0 fully transparent. | |
| void | setTransparency (float transparency) |
| Set transparency in the range from 0 to 1 where 1 is opaque and 0 fully transparent. | |
| CanvasBlendMode | getBlendMode () |
| Blend mode used to blend canvas over previous content. | |
| void | setBlendMode (CanvasBlendMode blendMode) |
| Set blend mode used to blend canvas over previous content. | |
| Canvas | getMask () |
| Mask canvas or null. | |
| void | setMask (Canvas mask) |
| Set mask canvas or null. | |
| CanvasView | getParentView () |
| Parent canvas view or null. | |
| Canvas | getParentMask () |
| Parent canvas mask or null. | |
Additional Inherited Members | |
Constructors |
Canvas image.
This is a native class.
| bool Dragengine.Scenery.CanvasImage.equals | ( | Object | other | ) |
Canvas is equal to another object.
Implements Object.equals(Object).
Reimplemented from Dragengine.Scenery.Canvas.
| Image Dragengine.Scenery.CanvasImage.getImage | ( | ) |
Image or null if not set.
| int Dragengine.Scenery.CanvasImage.getRepeatX | ( | ) |
Repeat count along X axis.
| int Dragengine.Scenery.CanvasImage.getRepeatY | ( | ) |
Repeat count along Y axis.
| int Dragengine.Scenery.CanvasImage.hashCode | ( | ) |
Hash code for use as dictionary keys.
Implements Object.hashCode().
Reimplemented from Dragengine.Scenery.Canvas.
| CanvasImage Dragengine.Scenery.CanvasImage.new | ( | ) |
Create canvas image.
Reimplemented from Dragengine.Scenery.Canvas.
| void Dragengine.Scenery.CanvasImage.setImage | ( | Image | image | ) |
Set image or null to unset.
| void Dragengine.Scenery.CanvasImage.setRepeatX | ( | int | count | ) |
Set repeat count along X axis.
| void Dragengine.Scenery.CanvasImage.setRepeatY | ( | int | count | ) |
Set repeat count along Y axis.