Draw object fields for styling visual appearance (GDK5)
Jump to navigation
Jump to search
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.
| Field Name | Styling Value | Description |
|---|---|---|
| LineWidth | Line.Width | |
| LineOutlineWidth | Line.OutlineWidth | |
| LineOutlineColor | Line.OutlineColor | |
| LineColor | Line.Color | |
| LineDashStyle | Line.DashStyle | |
| ShowLinePointText | Line.ShowLinePointText | |
| LineOutlineWidth | Line.OutlineWidth | |
| LineOutlineColor | Line.OutlineColor | |
| LineBackgroundColor | Line.BackgroundColor | |
| LineBackgroundWidth | Line.BackgroundWidth | |
| LineBackgroundDashStyle | Line.BackgroundDashStyle | |
| DrawCenterLine | Draw center line for corridors | |
| CenterLineColor | ||
| CenterLineWidth | ||
| CenterLineDashStyle | ||
| BoldFont | DefaultFont.Bold | True/False - Enable bold font for vector objects |
| ItalicFont | DefaultFont.Italic | True/False - Enable italic font for vector objects |
| UnderlineFont | DefaultFont.Underline | True/False - Enable underline for vector objects |
| StrikethroughFont | DefaultFont.Strikethrough | True/False - Enable strikethrough for vector objects |
| DefaultFontName | DefaultFont.Font | Font name for vector objects. |
| DefaultFontSize | DefaultFont.Size | Font size for vector objects. |
| DefaultFontForegroundColor | DefaultFont.Color | Font color for vector objects. |
| DefaultFontBackgroundColor | DefaultFont.BackgroundColor | Background color for vector objects. |
| FillForegroundColor | Fill.ForegroundColor | Fill color for filled polygons. |
| FillBackgroundColor | Fill.BackgroundColor | Background fill color for filled polygons (For non-solid fill patterns) |
| Fill | N/A | True/false - enable fill |
| FillStyle | Fill.Style | Fill style for filled polygons (None, Solid, BackwardDiagonal, ForwardDiagonal, Horizontal, Vertical, Cross, DiagonalCross) |
| 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. |
| 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. |
| DrawMovementIndicator | Label.DrawMovementIndicator | True/false - Enable direction of movement indicator for symbol. |
| MovementIndicatorColor | Label.MovementIndicatorColor | Color for the direction of movement indicator. |
| DrawOffsetLocationIndicator | Label.DrawOffsetLocationIndicator | True/false - Enable offset location indicator (callout) |
| OffsetLocationIndicatorColor | Label.OffsetIndicatorColor | Color for offset location indicator (callout). |
| GenericLabel | Label.Generic | Enable custom label layouts (requires styling) |
| DrawOutline | Unrelated.DrawOutline | |
| Smooth | Unrelated.Smooth |