HighlightRenderSettings constructor
- Set<
HighlightOptions> options = const <HighlightOptions>{HighlightOptions.showLandmark}, - Color innerColor = const Color.fromARGB(255, 255, 98, 0),
- Color outerColor = const Color.fromARGB(255, 255, 98, 0),
- double innerSz = 1.5,
- double outerSz = RenderSettings.defaultOuterSize,
- double imgSz = RenderSettings.defaultImageSize,
- double textSz = RenderSettings.defaultTextSize,
- Color textColor = RenderSettings.defaultTextColor,
- LineType lineType = RenderSettings.defaultLineType,
- ImagePosition imagePosition = RenderSettings.defaultImagePosition,
Creates highlight-specific render settings with sensible defaults.
Parameters
options: (Set<HighlightOptions>) Enabled highlight options. Defaults to showing the landmark.innerColor: (Color) Inner highlight color.outerColor: (Color) Outer highlight color.innerSz: (double) Inner size in millimeters.outerSz: (double) Outer size in millimeters.imgSz: (double) Image size in millimeters.textSz: (double) Text size in millimeters.textColor: (Color) Text color.lineType: (LineType) Line style used for the highlight border.imagePosition: (ImagePosition) Image placement relative to the highlight.
Implementation
HighlightRenderSettings({
super.options = const <HighlightOptions>{HighlightOptions.showLandmark},
super.innerColor = const Color.fromARGB(255, 255, 98, 0),
super.outerColor = const Color.fromARGB(255, 255, 98, 0),
super.innerSz = 1.5,
super.outerSz = RenderSettings.defaultOuterSize,
super.imgSz = RenderSettings.defaultImageSize,
super.textSz = RenderSettings.defaultTextSize,
super.textColor = RenderSettings.defaultTextColor,
super.lineType = RenderSettings.defaultLineType,
super.imagePosition = RenderSettings.defaultImagePosition,
});