| java.lang.Object org.openlaszlo.iv.flash.api.FlashItem org.openlaszlo.iv.flash.api.shape.LineStyle
LineStyle | final public class LineStyle extends FlashItem (Code) | | A line style represents a width and color of a line.
Notes:
- All lines in SWF have rounded joins and end-caps.
Different join styles and end styles can be simulated with
a very narrow shape that looks identical to the desired stroke.
- SWF has no native support for dashed or dotted line styles.
A dashed line can be simulated by breaking up the path into a series of short lines.
author: Dmitry Skavish |
LineStyle | public LineStyle()(Code) | | |
LineStyle | public LineStyle(int width, Color color)(Code) | | Creates line style of specified color and width
Parameters: width - width in twixels Parameters: color - line color |
getColor | public Color getColor()(Code) | | Returns color of this linestyle
color of this linestyle |
getWidth | public int getWidth()(Code) | | Returns width of this linestyle.
width of this linestyle in twixels. |
setColor | public void setColor(Color color)(Code) | | Sets color of this linestyle
Parameters: color - specified color |
setWidth | public void setWidth(int width)(Code) | | Sets width of this linestyle
Parameters: width - width of this linestyle in twixels |
|
|