SvgTheme class
- Annotations
Constructors
Properties
- currentColor → Color
-
The default color applied to SVG elements that inherit the color property.
See: https://developer.mozilla.org/en-US/docs/Web/CSS/color_value#currentcolor_keyword
final
- fontSize → double
-
The font size used when calculating em units of SVG elements.
See: https://www.w3.org/TR/SVG11/coords.html#Units
final
- hashCode → int
-
The hash code for this object.
no setteroverride
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- xHeight → double
-
The x-height (corpus size) of the font used when calculating ex units of SVG elements.
Defaults to half of fontSize if not provided.
See: https://www.w3.org/TR/SVG11/coords.html#Units,
https://en.wikipedia.org/wiki/X-height
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
override
-
toVgTheme(
) → SvgTheme -
Converts this SvgTheme to a
vg.SvgTheme
.
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override