Movatterモバイル変換


[0]ホーム

URL:


menu
  1. Dart
  2. dart:html
  3. Dimension class
Dimension
description

Dimension class

Class representing alength measurementin CSS.

Constructors

Dimension.cm(num_value)
Set this CSS Dimension to a centimetervalue.
Dimension.css(StringcssValue)
Construct a Dimension object from the valid, simple CSS stringcssValuethat 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 inchvalue.
Dimension.mm(num_value)
Set this CSS Dimension to a millimetervalue.
Dimension.pc(num_value)
Set this CSS Dimension to a picavalue.
Dimension.percent(num_value)
Set this CSS Dimension to a percentagevalue.
Dimension.pt(num_value)
Set this CSS Dimension to a pointvalue.
Dimension.px(num_value)
Set this CSS Dimension to a pixelvalue.

Properties

hashCodeint
The hash code for this object.
no setterinherited
runtimeTypeType
A representation of the runtime type of the object.
no setterinherited
valuenum
Return a unitless, numerical value of this CSS value.
no setter

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
  1. Dart
  2. dart:html
  3. Dimension class
dart:html library

[8]ページ先頭

©2009-2025 Movatter.jp