Draw object fields for styling visual appearance (GDK5): Difference between revisions
Jump to navigation
Jump to search
(Created page with "The following is a list of draw object fields that control the visual styling of a draw object, including the corresponding XML styling entry that can be used to override it. {| class="wikitable" ! Field Name ! Styling Value ! Description |- | LineWidth || Line.Width || |- | LineOutlineWidth || Line.OutlineWidth || |- | LineOutlineColor || Line.OutlineColor || |- | LineColor || Line.Color || |- | LineDashStyle || Line.DashStyle || |- | ShowLinePointText || Line.Sho...") |
(No difference)
|
Revision as of 14:48, 21 August 2025
The following is a list of draw object fields that control the visual styling of a draw object, including the corresponding XML styling entry that can be used to override it.
const char* DrawObjectDataFields::SmallLabelFontSize = "SmallLabelFontSize"; const char* DrawObjectDataFields::EchelonFont = "EchelonFont"; const char* DrawObjectDataFields::EchelonFontSize = "EchelonFontSize"; LabelFontName || Label.Font || Font name for symbol labels. LabelFontSize || Label.Size || Font size for symbol labels. LabelFontForegroundColor || Label.Color || Font color for symbol labels. LabelFontBackgroundColor || Label.BackgroundColor || Background color for symbol labels. LabelFontOutlineColor || Label.OutlineColor || Outline color for symbol labels. LabelFontBold || Label.Bold || True/False - Enable bold font for symbol labels. LabelFontItalic || Label.Italic || True/False - Enable italic font for symbol labels. LabelMovementIndicatorColor || || LabelOffsetLocationIndicatorColor || || GenericLabel || || DrawLabelMovementIndicator || || DrawLabelOffsetLocationIndicator || ||| Field Name | Styling Value | Description |
|---|---|---|
| LineWidth | Line.Width | |
| LineOutlineWidth | Line.OutlineWidth | |
| LineOutlineColor | Line.OutlineColor | |
| LineColor | Line.Color | |
| LineDashStyle | Line.DashStyle | |
| ShowLinePointText | Line.ShowLinePointText | |
| DrawCenterLine | ||
| CenterLineColor | ||
| CenterLineWidth | ||
| CenterLineDashStyle | ||
| BoldFont | DefaultFont.Bold | True/False - Enable bold font |
| ItalicFont | DefaultFont.Italic | True/False - Enable italic font |
| UnderlineFont | DefaultFont.Underline | True/False - Enable underline |
| StrikethroughFont | DefaultFont.Strikethrough | True/False - Enable strikethrough |
| DefaultFontName | DefaultFont.Font | |
| DefaultFontSize | DefaultFont.Size | |
| DefaultFontForegroundColor | DefaultFont.Color | |
| DefaultFontBackgroundColor | DefaultFont.BackgroundColor | |
| FillForegroundColor | Fill.ForegroundColor | |
| FillBackgroundColor | Fill.BackgroundColor | |
| FillStyle | Fill.Style | |
| BufferWidth | N/A | Controls the size of the buffer around the object. |
| BufferLineWidth | Buffer.Width | Controls the line thickness of the buffer line. |
| BufferLineColor | Buffer.Color | Controls the color of the buffer line. |
| BufferLineDashStyle | Buffer.DashStyle | Controls the dash style of the buffer line. |
| MultiBufferLineWidths | Buffer.MultiWidths | |
| MultiBufferLineColors | Buffer.MultiColors | |
| MultiBufferLineDashStyles | Buffer.MultiDashStyles | |
| DrawLabel | Label.Draw | Enable/disable drawing of point symbol label. |
| DrawOutline | Unrelated.DrawOutline | |
| Smooth | Unrelated.Smooth |