| java.lang.Object org.directwebremoting.proxy.io.Context jsx3.lang.Object jsx3.html.Tag jsx3.vector.Stroke
Stroke | public class Stroke extends jsx3.html.Tag (Code) | | Represents a vector line style.
author: Joe Walker [joe at getahead dot org] author: DRAPGEN - Dwr Reverse Ajax Proxy GENerator |
Constructor Summary | |
public | Stroke(Context context, String extension, ScriptProxy scriptProxy) | public | Stroke(String color, int width, float alpha) The instance initializer. | public | Stroke(int color, int width, float alpha) The instance initializer. |
Stroke | public Stroke(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 |
Stroke | public Stroke(String color, int width, float alpha)(Code) | | The instance initializer.
Parameters: color - the color value, as a hex String or 24-bit integer value, defaults to 0x000000 Parameters: width - the width of the stroke, in pixels, defaults to 1 Parameters: alpha - the opacity value, valid values are between 0 and 1, defaults to 1 |
Stroke | public Stroke(int color, int width, float alpha)(Code) | | The instance initializer.
Parameters: color - the color value, as a hex String or 24-bit integer value, defaults to 0x000000 Parameters: width - the width of the stroke, in pixels, defaults to 1 Parameters: alpha - the opacity value, valid values are between 0 and 1, defaults to 1 |
setAlpha | public void setAlpha(float alpha)(Code) | | Sets the alpha field.
Parameters: alpha - the new value for alpha |
setColor | public void setColor(String color)(Code) | | Sets the color field.
Parameters: color - the new value for color |
setColor | public void setColor(int color)(Code) | | Sets the color field.
Parameters: color - the new value for color |
setWidth | public void setWidth(int width)(Code) | | Sets the width field.
Parameters: width - the new value for width |
valueOf | public void valueOf(String v, org.directwebremoting.proxy.Callback<String> callback)(Code) | | parses a VectorStroke from a string representation, that format is "color width alpha"
Parameters: v - the string representation Parameters: callback - null if v is empty, v if v is already a VectorStroke, or otherwise a new VectorStroke created by parsing the string according to the format specified above |
Methods inherited from jsx3.lang.Object | public void ignoreReturn()(Code)(Java Doc)
|
|
|