Dimension class
Class representing alength measurementin CSS.
Constructors
- Dimension.cm(num_value)
- Set this CSS Dimension to a centimeter
value. - Dimension.css(StringcssValue)
- Construct a Dimension object from the valid, simple CSS string
cssValuethat represents a distance measurement. - Dimension.em(num_value)
- Set this CSS Dimension to the specified number of ems.
- Dimension.ex(num_value)
- Set this CSS Dimension to the specified number of x-heights.
- Dimension.inch(num_value)
- Set this CSS Dimension to an inch
value. - Dimension.mm(num_value)
- Set this CSS Dimension to a millimeter
value. - Dimension.pc(num_value)
- Set this CSS Dimension to a pica
value. - Dimension.percent(num_value)
- Set this CSS Dimension to a percentage
value. - Dimension.pt(num_value)
- Set this CSS Dimension to a point
value. - Dimension.px(num_value)
- Set this CSS Dimension to a pixel
value.
Properties
Methods
- noSuchMethod(
Invocationinvocation)→ dynamic - Invoked when a nonexistent method or property is accessed.inherited
- toString(
)→String - Print out the CSS String representation of this value.override
Operators
- operator ==(
Objectother)→bool - The equality operator.inherited