| java.lang.Object org.directwebremoting.proxy.io.Context jsx3.lang.Object jsx3.html.Tag jsx3.html.BlockTag jsx3.vector.Tag jsx3.vector.Shape
All known Subclasses: jsx3.vector.Rectangle, jsx3.vector.LineGroup, jsx3.vector.Polygon, jsx3.vector.Oval, jsx3.vector.RectangleGroup, jsx3.vector.TextLine, jsx3.vector.Line,
Shape | public class Shape extends jsx3.vector.Tag (Code) | | Represents a vector shape element.
The vector shape is the principal vector tag. The path field can contain an EPS-like path the defines a
complex vector shape.
author: Joe Walker [joe at getahead dot org] author: DRAPGEN - Dwr Reverse Ajax Proxy GENerator |
Method Summary | |
public void | getFill() Returns the fill of this shape. | public void | getPath(org.directwebremoting.proxy.Callback<String> callback) Returns the path field. | public void | getStroke() Returns the stroke of this shape. | public jsx3.vector.Shape | pathArcTo(int cx, int cy, int rx, int ry, int x1, int y1, int x2, int y2, boolean bCW) | public T | pathArcTo(int cx, int cy, int rx, int ry, int x1, int y1, int x2, int y2, boolean bCW, Class<T> returnType) | public jsx3.vector.Shape | pathClose() | public T | pathClose(Class<T> returnType) | public jsx3.vector.Shape | pathLineTo(int x, int y, boolean bRel) | public T | pathLineTo(int x, int y, boolean bRel, Class<T> returnType) | public jsx3.vector.Shape | pathMoveTo(int x, int y, boolean bRel) | public T | pathMoveTo(int x, int y, boolean bRel, Class<T> returnType) | public void | setFill(jsx3.vector.Fill fill) Sets the fill of this shape, other fills may be present as children of this instance. | public void | setPath(String path) Sets the path field. | public void | setStroke(jsx3.vector.Stroke stroke) Sets the stroke of this shape, other strokes may be present as children of this instance. |
Shape | public Shape(Context context, String extension, ScriptProxy scriptProxy)(Code) | | All reverse ajax proxies need context to work from
Parameters: scriptProxy - The place we are writing scripts to Parameters: context - The script that got us to where we are now |
Shape | public Shape(String strTagName, int left, int top, int width, int height)(Code) | | The instance initializer.
Parameters: strTagName - Parameters: left - left position (in pixels) of the object relative to its parent container Parameters: top - top position (in pixels) of the object relative to its parent container Parameters: width - width (in pixels) of the object Parameters: height - height (in pixels) of the object |
getFill | public void getFill()(Code) | | Returns the fill of this shape.
|
getStroke | public void getStroke()(Code) | | Returns the stroke of this shape.
|
pathArcTo | public jsx3.vector.Shape pathArcTo(int cx, int cy, int rx, int ry, int x1, int y1, int x2, int y2, boolean bCW)(Code) | | Parameters: cx - Parameters: cy - Parameters: rx - Parameters: ry - Parameters: x1 - Parameters: y1 - Parameters: x2 - Parameters: y2 - Parameters: bCW - this object. |
pathArcTo | public T pathArcTo(int cx, int cy, int rx, int ry, int x1, int y1, int x2, int y2, boolean bCW, Class<T> returnType)(Code) | | Parameters: cx - Parameters: cy - Parameters: rx - Parameters: ry - Parameters: x1 - Parameters: y1 - Parameters: x2 - Parameters: y2 - Parameters: bCW - Parameters: returnType - The expected return type this object. |
pathClose | public T pathClose(Class<T> returnType)(Code) | | Parameters: returnType - The expected return type this object. |
pathLineTo | public jsx3.vector.Shape pathLineTo(int x, int y, boolean bRel)(Code) | | Parameters: x - Parameters: y - Parameters: bRel - this object. |
pathLineTo | public T pathLineTo(int x, int y, boolean bRel, Class<T> returnType)(Code) | | Parameters: x - Parameters: y - Parameters: bRel - Parameters: returnType - The expected return type this object. |
pathMoveTo | public jsx3.vector.Shape pathMoveTo(int x, int y, boolean bRel)(Code) | | Parameters: x - Parameters: y - Parameters: bRel - this object. |
pathMoveTo | public T pathMoveTo(int x, int y, boolean bRel, Class<T> returnType)(Code) | | Parameters: x - Parameters: y - Parameters: bRel - Parameters: returnType - The expected return type this object. |
setFill | public void setFill(jsx3.vector.Fill fill)(Code) | | Sets the fill of this shape, other fills may be present as children of this instance.
Parameters: fill - the fill value. |
setPath | public void setPath(String path)(Code) | | Sets the path field.
Parameters: path - the new value for path |
setStroke | public void setStroke(jsx3.vector.Stroke stroke)(Code) | | Sets the stroke of this shape, other strokes may be present as children of this instance.
Parameters: stroke - the stroke value. |
Methods inherited from jsx3.lang.Object | public void ignoreReturn()(Code)(Java Doc)
|
|
|