Translate

A transform node that translates by some distance in the x and y directions.

Features

XML Element XML Type Java Class
transform translate uk.ac.ic.doc.scenebeans.Translate

Properties

Name Type Default Value Getter Method Setter Method Description
translation Point2D (0,0) getTranslation setTranslation The translation expressed as a point: the point is the location of the origin of the subgraph.
x double 0.0 getX setX The distance that the subgraph is translated in the x direction.
y double 1.0 getY setY The distance that the subgraph is translated in the y direction.
transform java.awt.geom. AffineTransform The identity transform getTransform read only The transformation matrix corresponding to rotation about the origin by the value of the angle property.

This property cannot be used in XML.

transformedGraph SceneGraph A Null bean getTransformedGraph read only The transformed subgraph.

This property cannot be used in XML.