CSSPosition class
CSS Values and Units: https://drafts.csswg.org/css-values-3/#position
The <position> value specifies the position of a object area
(e.g. background image) inside a positioning area (e.g. background
positioning area). It is interpreted as specified for background-position.
CSS3-BACKGROUND
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
parsePositionShorthand(
String input) → List< String> - Parse background-position shorthand to background-position-x and background-position-y list.
-
resolveBackgroundPosition(
String input, RenderStyle renderStyle, String propertyName, bool isHorizontal) → CSSBackgroundPosition - Parse background-position-x/background-position-y from string to CSSBackgroundPosition type.