RenderSettings<T> constructor

RenderSettings<T>({
  1. Set<T> options = const <Never>{},
  2. Color innerColor = defaultInnerColor,
  3. Color outerColor = defaultOuterColor,
  4. double innerSz = defaultInnerSize,
  5. double outerSz = defaultOuterSize,
  6. double imgSz = defaultImageSize,
  7. double textSz = defaultTextSize,
  8. Color textColor = defaultTextColor,
  9. LineType lineType = defaultLineType,
  10. ImagePosition imagePosition = defaultImagePosition,
})

Creates a new RenderSettings instance.

Parameters

  • options: (Set<T>) The set that defines which rendering options are enabled.
  • innerColor: (Color) Color used for the inner area.
  • outerColor: (Color) Color used for the outer area.
  • innerSz: (double) Size for the inner area in millimeters.
  • outerSz: (double) Size for the outer area in millimeters.
  • imgSz: (double) Image size in millimeters.
  • textSz: (double) Text size in millimeters.
  • textColor: (Color) Color used for text.
  • lineType: (LineType) Line style used by the element.
  • imagePosition: (ImagePosition) Positioning of the image relative to the reference point.

Implementation

RenderSettings({
  this.options = const <Never>{},
  this.innerColor = defaultInnerColor,
  this.outerColor = defaultOuterColor,
  this.innerSz = defaultInnerSize,
  this.outerSz = defaultOuterSize,
  this.imgSz = defaultImageSize,
  this.textSz = defaultTextSize,
  this.textColor = defaultTextColor,
  this.lineType = defaultLineType,
  this.imagePosition = defaultImagePosition,
});