SVG Style for a node. Corresponds to SVG Styling: http://www.w3.org/TR/SVG/styling.html .
Show All |
Public Member Functions
-
Style ()
-
Style (const XmlTree &xml, const Node *parent)
-
boolspecifiesFill () const
-
voidunspecifyFill ()
-
const Paint &getFill () const
-
voidsetFill (const Paint &fill)
-
boolspecifiesStroke () const
-
voidunspecifyStroke ()
-
const Paint &getStroke () const
-
voidsetStroke (const Paint &stroke)
-
boolspecifiesOpacity () const
-
voidunspecifyOpacity ()
-
floatgetOpacity () const
-
voidsetOpacity (float opacity)
-
boolspecifiesStrokeOpacity () const
-
voidunspecifyStrokeOpacity ()
-
floatgetStrokeOpacity () const
-
voidsetStrokeOpacity (float strokeOpacity)
-
boolspecifiesFillOpacity () const
-
voidunspecifyFillOpacity ()
-
floatgetFillOpacity () const
-
voidsetFillOpacity (float fillOpacity)
-
boolspecifiesStrokeWidth () const
-
voidunspecifyStrokeWidth ()
-
floatgetStrokeWidth () const
-
voidsetStrokeWidth (float strokeWidth)
-
boolspecifiesFillRule () const
-
voidunspecifyFillRule ()
-
getFillRule () const
-
voidsetFillRule (FillRule fillRule)
-
boolspecifiesLineCap () const
-
voidunspecifyLineCap ()
-
getLineCap () const
-
voidsetLineCap (LineCap lineCap)
-
boolspecifiesLineJoin () const
-
voidunspecifyLineJoin ()
-
getLineJoin () const
-
voidsetLineJoin (LineJoin lineJoin)
-
boolspecifiesFontFamilies () const
-
voidunspecifyFontFamilies ()
-
const std::vector< std::string > &getFontFamilies () const
-
std::vector< std::string > &getFontFamilies ()
-
voidsetFontFamily (const std::string &family)
-
voidsetFontFamilies (const std::vector< std::string > &families)
-
boolspecifiesFontSize () const
-
voidunspecifyFontSize ()
-
getFontSize () const
-
voidsetFontSize (const Value &fontSize)
-
boolspecifiesFontWeight () const
-
voidunspecifyFontWeight ()
-
getFontWeight () const
-
voidsetFontWeight (FontWeight weight)
-
boolspecifiesVisible () const
-
boolisVisible () const
-
voidsetVisible (bool visible)
-
voidunspecifyVisible ()
-
boolisDisplayNone () const
-
voidsetDisplayNone (bool displayNone)
-
voidstartRender (Renderer &renderer, bool isNodeDrawable) const
-
voidfinishRender (Renderer &renderer, bool isNodeDrawable) const
-
voidparseStyleAttribute (const std::string &stylePropertyString, const Node *parent)
-
boolparseProperty (const std::string &key, const std::string &value, const Node *parent)
Static Public Member Functions
-
const Paint &getFillDefault ()
-
const Paint &getStrokeDefault ()
-
floatgetOpacityDefault ()
-
floatgetStrokeOpacityDefault ()
-
floatgetFillOpacityDefault ()
-
floatgetStrokeWidthDefault ()
-
getFillRuleDefault ()
-
getLineCapDefault ()
-
getLineJoinDefault ()
-
const std::vector< std::string > &getFontFamiliesDefault ()
-
getFontSizeDefault ()
-
getFontWeightDefault ()
Protected Attributes
-
boolmSpecifiesOpacity
-
floatmOpacity
-
boolmSpecifiesFillOpacity
-
boolmSpecifiesStrokeOpacity
-
floatmFillOpacity
-
floatmStrokeOpacity
-
boolmSpecifiesFill
-
boolmSpecifiesStroke
-
mFill
-
mStroke
-
boolmSpecifiesStrokeWidth
-
floatmStrokeWidth
-
boolmSpecifiesFillRule
-
mFillRule
-
boolmSpecifiesLineCap
-
mLineCap
-
boolmSpecifiesLineJoin
-
mLineJoin
-
boolmSpecifiesFontFamilies
-
boolmSpecifiesFontSize
-
boolmSpecifiesFontWeight
-
std::vector< std::string >mFontFamilies
-
mFontSize
-
mFontWeight
-
boolmSpecifiesVisible
-
boolmVisible
-
boolmDisplayNone