@TagName(value="style") public class OMSVGStyle extends Style
Style.BorderStyle, Style.Clear, Style.Cursor, Style.Display, Style.Float, Style.FontStyle, Style.FontWeight, Style.HasCssName, Style.ListStyleType, Style.OutlineStyle, Style.Overflow, Style.Position, Style.TableLayout, Style.TextAlign, Style.TextDecoration, Style.TextJustify, Style.TextOverflow, Style.TextTransform, Style.Unit, Style.VerticalAlign, Style.Visibility, Style.WhiteSpace
Modifier | Constructor and Description |
---|---|
protected |
OMSVGStyle()
Constructor
|
Modifier and Type | Method and Description |
---|---|
void |
clearSVGProperty(String name)
Clears the value of a named property, causing it to
revert to its default.
|
String |
getSVGProperty(String name)
Gets the value of a named property.
|
OMCSSValue |
getSVGPropertyCSS(String name)
Gets the value of a named property as a CSS value.
|
void |
setSVGProperty(String name,
String value)
Sets the value of a named property.
|
clearBackgroundColor, clearBackgroundImage, clearBorderColor, clearBorderStyle, clearBorderWidth, clearBottom, clearClear, clearColor, clearCursor, clearDisplay, clearFloat, clearFontSize, clearFontStyle, clearFontWeight, clearHeight, clearLeft, clearLineHeight, clearListStyleType, clearMargin, clearMarginBottom, clearMarginLeft, clearMarginRight, clearMarginTop, clearOpacity, clearOutlineColor, clearOutlineStyle, clearOutlineWidth, clearOverflow, clearOverflowX, clearOverflowY, clearPadding, clearPaddingBottom, clearPaddingLeft, clearPaddingRight, clearPaddingTop, clearPosition, clearProperty, clearRight, clearTableLayout, clearTextAlign, clearTextDecoration, clearTextIndent, clearTextJustify, clearTextOverflow, clearTextTransform, clearTop, clearVisibility, clearWhiteSpace, clearWidth, clearZIndex, getBackgroundColor, getBackgroundImage, getBorderColor, getBorderStyle, getBorderWidth, getBottom, getClear, getColor, getCursor, getDisplay, getFontSize, getFontStyle, getFontWeight, getHeight, getLeft, getLineHeight, getListStyleType, getMargin, getMarginBottom, getMarginLeft, getMarginRight, getMarginTop, getOpacity, getOverflow, getOverflowX, getOverflowY, getPadding, getPaddingBottom, getPaddingLeft, getPaddingRight, getPaddingTop, getPosition, getProperty, getRight, getTableLayout, getTextAlign, getTextDecoration, getTextIndent, getTextJustify, getTextOverflow, getTextTransform, getTop, getVerticalAlign, getVisibility, getWhiteSpace, getWidth, getZIndex, setBackgroundColor, setBackgroundImage, setBorderColor, setBorderStyle, setBorderWidth, setBottom, setClear, setColor, setCursor, setDisplay, setFloat, setFontSize, setFontStyle, setFontWeight, setHeight, setLeft, setLineHeight, setListStyleType, setMargin, setMarginBottom, setMarginLeft, setMarginRight, setMarginTop, setOpacity, setOutlineColor, setOutlineStyle, setOutlineWidth, setOverflow, setOverflowX, setOverflowY, setPadding, setPaddingBottom, setPaddingLeft, setPaddingRight, setPaddingTop, setPosition, setProperty, setProperty, setPropertyPx, setRight, setTableLayout, setTextAlign, setTextDecoration, setTextIndent, setTextJustify, setTextOverflow, setTextTransform, setTop, setVerticalAlign, setVerticalAlign, setVisibility, setWhiteSpace, setWidth, setZIndex
cast, createArray, createArray, createFunction, createObject, equals, hashCode, toSource, toString
protected OMSVGStyle()
public final void clearSVGProperty(String name)
name
- The property namepublic final String getSVGProperty(String name)
name
- The property namepublic final void setSVGProperty(String name, String value)
name
- The property namevalue
- The property namepublic final OMCSSValue getSVGPropertyCSS(String name)
OMSVGPaint
values.name
- The name of CSS property