| java.lang.Object com.sun.perseus.model.GlyphProxy
GlyphProxy | final public class GlyphProxy (Code) | | A GlyphNodeProxy delegates its rendering to a
proxied Glyph object.
version: $Id: GlyphProxy.java,v 1.10 2006/06/29 10:47:31 ln156897 Exp $ |
Constructor Summary | |
public | GlyphProxy(Glyph proxied) Parameters: proxied - Glyph node to proxy. |
prevSibling | protected GlyphProxy prevSibling(Code) | | The previous GlyphProxy sibling.
|
proxied | protected Glyph proxied(Code) | | The proxied glyph.
|
rotate | protected float rotate(Code) | | The glyph's rotation
|
x | protected float x(Code) | | The origin of the glyph on the x axis.
|
GlyphProxy | public GlyphProxy(Glyph proxied)(Code) | | Parameters: proxied - Glyph node to proxy. Should notbe null. |
addNodeBBox | Box addNodeBBox(Box bbox, Transform t)(Code) | | Parameters: bbox - the bounding box to which this node's bounding box should beappended. That bounding box is in the target coordinate space. It may be null, in which case this node should create a new one. Parameters: t - the transform from the node coordinate system to the coordinatesystem into which the bounds should be computed. the bounding box of this node, in the target coordinate space, |
addRenderingTile | protected Tile addRenderingTile(Tile tile, TextRenderingProperties trp, Transform t)(Code) | | Adds this glyph's bounds to the input tile. If the input tile.
Parameters: tile - the Tile instance whose bounds should be set. Parameters: trp - the TextRenderingProperties describing the nodes rendering characteristics. Parameters: t - the Transform to the requested tile space, from this node's userspace. the expanded tile. |
applyInverseTransform | protected void applyInverseTransform(Transform tx)(Code) | | Apply this node inverse additional transform.
Parameters: tx - the Transform to add node transform to.This is guaranteed to be not null. |
applyTransform | protected void applyTransform(Transform tx)(Code) | | Apply this node's x/y translation.
Parameters: tx - the Transform to add node transform to.This is guaranteed to be not null. |
getRotate | public float getRotate()(Code) | | this node's rotation |
getX | public float getX()(Code) | | this node's origin on the x-axis |
isHit | protected boolean isHit(float[] pt, TextRenderingProperties trp)(Code) | | Parameters: pt - the x/y coordinate. Should never be null and beof size two. If not, the behavior is unspecified. The pointshould be in user space. Parameters: trp - the TextRenderingProperties containing the propertiesapplicable to the hit detection operation. This is usedbecause the same node may be referenced multiple timesby different proxies. true if this node is hit by the input point. The input pointis in viewport space. This is invoked in the hit detectionprocess after the node's properties have been applied and the display value has been checked (i.e., the node is actually rendered). See Also: GlyphProxy.nodeHitAt |
setRotate | public void setRotate(float newRotate)(Code) | | Parameters: newRotate - the new glyph rotation |
setX | public void setX(float newX)(Code) | | Parameters: newX - the new origin on the x-axis |
toString | public String toString()(Code) | | a string description of this ElementNodeProxy |
|
|