gumbo.graphic.space
Interface ScaleNode
- All Superinterfaces:
- Graphic, SpaceNode, TransformNode
- All Known Subinterfaces:
- RigidTransformNode
- public interface ScaleNode
- extends TransformNode
A transform node that specifically supports non-negative geometric scaling.
The scaling occurs about the untransformed/transformed space origin, along
its spatial dimensions.
- Version:
- $Revision: 1.1 $
- Author:
- Jon Barrilleaux (jonb@jmbaai.com) of JMB and Associates Inc.
setGraphicScale
public void setGraphicScale(Size3 scale)
- Sets the geometric scaling factor of this transform node. If the
node is spatially constrained, some or all of the transformation
may be ignored.
- Parameters:
scale
- Value of the transformation. Never null.
getGraphicScale
public Size3 getGraphicScale(Size3 retVal)
- Gets the geometric translation of this transform node. If the
node is spatially constrained, it will be reflected in the
return value.
- Parameters:
retVal
- Return value object. The scale. Never null.
- Returns:
- Reference to retVal. Never null.