|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcox.jmatt.java.MathTools.markup.StyleInfo
cox.jmatt.java.MathTools.markup.svg.StylePen
public class StylePen
This is the SVG class used to encapsulate CSS rules and 'style=' attributes.
Constructor Summary | |
---|---|
StylePen()
|
Method Summary | |
---|---|
StylePen |
copyOf()
Create a copy of this pen, including the name! Change it with setPen() . |
StylePen |
setClipURL(java.lang.String pURL)
Set a clip-path URL to the style specified. |
StylePen |
setFill(java.lang.String pValue)
Set the fill color. |
StylePen |
setFillNonzero(boolean pNonZero)
Set the fill-rule for this style. |
StylePen |
setFillOpacity(java.lang.Double pValue)
Set the fill opacity. |
StylePen |
setFillURL(java.lang.String pURL)
Set the 'fill:' to an URL value. |
StylePen |
setMaskURL(java.lang.String pURL)
Set a mask URL to the style specified. |
void |
setName(java.lang.String ignored)
StylePen s are tracked by number; the name is handled automatically. |
StylePen |
setOpacity(java.lang.Double pValue)
Set the stroke opacity. |
StylePen |
setPen(int pPen)
Set the pen number used to reference this style, if it is to be a CSS 'pen' style. |
StylePen |
setStroke(java.lang.String pValue)
Set the stroke color. |
StylePen |
setStrokeDasharray(java.lang.String pValue)
Set the stroke dash array. |
StylePen |
setStrokeDashOffset(java.lang.String pValue)
Set the stroke dasharray offset. |
StylePen |
setStrokeLinecap(char pValue)
Set the stroke linecap attribute. |
StylePen |
setStrokeLinejoin(char pValue)
Set the stroke linejoin attribute. |
StylePen |
setStrokeMiterlimit(java.lang.String pValue)
Set the stroke miter limit. |
StylePen |
setStrokeWidth(java.lang.Double pValue)
Set the width of the stroke. |
Methods inherited from class cox.jmatt.java.MathTools.markup.StyleInfo |
---|
_addDeclaration, _addNDeclaration, _addNDeclaration, _declarations, _enableCopy, _uniqueName, configurate, configurateGlobalPizza, reset, toAttribute, toAttribute, toCSS, toRawCSS, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public StylePen()
Method Detail |
---|
public void setName(java.lang.String ignored)
StylePen
s are tracked by number; the name is handled automatically. This method does nothing.
setName
in class StyleInfo
public StylePen copyOf()
setPen()
.
copyOf
in class StyleInfo
public StylePen setPen(int pPen)
public StylePen setStroke(java.lang.String pValue)
public StylePen setFill(java.lang.String pValue)
public StylePen setFillURL(java.lang.String pURL)
public StylePen setClipURL(java.lang.String pURL)
public StylePen setMaskURL(java.lang.String pURL)
public StylePen setOpacity(java.lang.Double pValue)
public StylePen setStrokeWidth(java.lang.Double pValue)
public StylePen setFillOpacity(java.lang.Double pValue)
public StylePen setStrokeDasharray(java.lang.String pValue)
public StylePen setStrokeDashOffset(java.lang.String pValue)
public StylePen setStrokeLinecap(char pValue)
Set the stroke linecap attribute. The argument uses one char as there are limited valid values:
public StylePen setStrokeLinejoin(char pValue)
Set the stroke linejoin attribute. The argument uses one char as there are limited valid values:
public StylePen setStrokeMiterlimit(java.lang.String pValue)
public StylePen setFillNonzero(boolean pNonZero)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |