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.

Method Summary
 Size3 getGraphicScale(Size3 retVal)
          Gets the geometric translation of this transform node.
 void setGraphicScale(Size3 scale)
          Sets the geometric scaling factor of this transform node.
 
Methods inherited from interface gumbo.graphic.space.TransformNode
getGraphicTransform, isSpaceTransforming
 
Methods inherited from interface gumbo.graphic.space.SpaceNode
getGraphicSpaceTree
 
Methods inherited from interface gumbo.graphic.Graphic
getGraphic
 

Method Detail

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.