| java.lang.Object org.directwebremoting.proxy.io.Context jsx3.lang.Object jsx3.html.Tag jsx3.html.BlockTag jsx3.vector.Tag jsx3.vector.Shape jsx3.vector.Line
Line | public class Line extends jsx3.vector.Shape (Code) | | Paints a vector line defined by two end points.
author: Joe Walker [joe at getahead dot org] author: DRAPGEN - Dwr Reverse Ajax Proxy GENerator |
Constructor Summary | |
public | Line(Context context, String extension, ScriptProxy scriptProxy) | public | Line(int left, int top, int x1, int y1, int x2, int y2) The instance initializer. |
Line | public Line(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 |
Line | public Line(int left, int top, int x1, int y1, int x2, int y2)(Code) | | The instance initializer.
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: x1 - the x coordinate of the starting point Parameters: y1 - the y coordinate of the starting point Parameters: x2 - the x coordinate of the ending point Parameters: y2 - the y coordinate of the ending point |
setPoints | public void setPoints(int x1, int y1, int x2, int y2)(Code) | | Sets all the coordinates at once.
Parameters: x1 - the x coordinate of the starting point Parameters: y1 - the y coordinate of the starting point Parameters: x2 - the x coordinate of the ending point Parameters: y2 - the y coordinate of the ending point |
setX1 | public void setX1(int x1)(Code) | | Sets the x1 field.
Parameters: x1 - the new value for x1 |
setX2 | public void setX2(int x2)(Code) | | Sets the x2 field.
Parameters: x2 - the new value for x2 |
setY1 | public void setY1(int y1)(Code) | | Sets the y1 field.
Parameters: y1 - the new value for y1 |
setY2 | public void setY2(int y2)(Code) | | Sets the y2 field.
Parameters: y2 - the new value for y2 |
Methods inherited from jsx3.vector.Shape | public void getFill()(Code)(Java Doc) public void getPath(org.directwebremoting.proxy.Callback<String> callback)(Code)(Java Doc) public void getStroke()(Code)(Java Doc) public jsx3.vector.Shape pathArcTo(int cx, int cy, int rx, int ry, int x1, int y1, int x2, int y2, boolean bCW)(Code)(Java Doc) 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)(Java Doc) public jsx3.vector.Shape pathClose()(Code)(Java Doc) public T pathClose(Class<T> returnType)(Code)(Java Doc) public jsx3.vector.Shape pathLineTo(int x, int y, boolean bRel)(Code)(Java Doc) public T pathLineTo(int x, int y, boolean bRel, Class<T> returnType)(Code)(Java Doc) public jsx3.vector.Shape pathMoveTo(int x, int y, boolean bRel)(Code)(Java Doc) public T pathMoveTo(int x, int y, boolean bRel, Class<T> returnType)(Code)(Java Doc) public void setFill(jsx3.vector.Fill fill)(Code)(Java Doc) public void setPath(String path)(Code)(Java Doc) public void setStroke(jsx3.vector.Stroke stroke)(Code)(Java Doc)
|
Methods inherited from jsx3.lang.Object | public void ignoreReturn()(Code)(Java Doc)
|
|
|