width property

double width

The width of the picture fill symbol in device-independent pixels (DIPs).

The width of the symbol spanning from the left to the right side of the image. The default value is 0.0. You can use this property to override the width of the symbol. Note that if you set the PictureFillSymbol.height or PictureFillSymbol.width to 0.0, then the picture fill symbol will adopt the height and width of the loaded PictureFillSymbol.image.

Implementation

double get width {
  return _withThrowingErrorHandler((errorHandler) {
    return runtimecore.RT_PictureFillSymbol_getWidth(
      _handle,
      errorHandler,
    );
  });
}
void width=(double value)

Implementation

set width(double value) {
  _withThrowingErrorHandler((errorHandler) {
    runtimecore.RT_PictureFillSymbol_setWidth(
      _handle,
      value,
      errorHandler,
    );
  });
}