RenderSettings<T> constructor
- Set<
T> options = const <Never>{}, - Color innerColor = defaultInnerColor,
- Color outerColor = defaultOuterColor,
- double innerSz = defaultInnerSize,
- double outerSz = defaultOuterSize,
- double imgSz = defaultImageSize,
- double textSz = defaultTextSize,
- Color textColor = defaultTextColor,
- LineType lineType = defaultLineType,
- 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,
});