Movatterモバイル変換


[0]ホーム

URL:


menu
  1. Dart
  2. dart:math
  3. MutableRectangle<T extends num>
  4. width property
width
description

width property

T getwidth

The width of the rectangle.

Implementation

T get width => _width;
setwidth(Twidth)

Sets the width of the rectangle.

The width must be non-negative.If a negative width is supplied, it is clamped to zero.

Setting the value will change the right edge of the rectangle,but will not changeleft.

Implementation

set width(T width) {  if (width < 0) width = _clampToZero<T>(width);  _width = width;}
  1. Dart
  2. dart:math
  3. MutableRectangle<T extends num>
  4. width property
MutableRectangle class

[8]ページ先頭

©2009-2025 Movatter.jp