LuciadCPillar C# 2023.1.04
Luciad.Symbology.Military.MilitarySymbolStyle Class Reference

Defines styling settings for visualizing military symbols. More...

Inheritance diagram for Luciad.Symbology.Military.MilitarySymbolStyle:

Classes

class  Builder
 Builder for the luciad::MilitarySymbolStyle class. More...
 

Public Member Functions

Luciad.Symbology.Military.MilitarySymbolStyle.Builder AsBuilder ()
 Creates a new builder with the same properties as this symbol style. More...
 
void Dispose ()
 
System.Drawing.Color GetAffiliationColor (Luciad.Symbology.Military.MilitarySymbol.Affiliation affiliation)
 Returns the color that is configured for the given affiliation. More...
 

Static Public Member Functions

static Luciad.Text.TextStyle GetDefaultTextStyle (uint iconSize)
 Returns the default text style. More...
 
static Luciad.Symbology.Military.MilitarySymbolStyle.Builder NewBuilder ()
 Creates a new builder for creating a MilitarySymbolStyle. More...
 

Properties

System.Drawing.Color AlternateFillColor [get]
 
System.Drawing.Color Color [get]
 
double CornerSmoothness [get]
 
static Luciad.Symbology.Military.MilitarySymbolStyle DefaultStyle [get]
 
double FillPercentage [get]
 
uint IconSize [get]
 
bool IsAffiliationColorEnabled [get]
 
bool IsFillEnabled [get]
 
bool IsFrameEnabled [get]
 
bool IsIconEnabled [get]
 
bool IsModifiersEnabled [get]
 
bool IsSurroundingRectangleEnabled [get]
 
System.Drawing.? Color OverrideColor [get]
 
double StrokeScaleFactor [get]
 
System.Drawing.Color SurroundingRectangleColor [get]
 
uint SurroundingRectangleWidth [get]
 
Luciad.Text.TextStyle TextStyle [get]
 

Detailed Description

Defines styling settings for visualizing military symbols.

Use luciad::MilitarySymbolStyle::newBuilder to create a new instance.

Warning
C# documentation translation is incomplete. You can find more information in the C++ documentation for luciad::MilitarySymbolStyle.

Member Function Documentation

◆ AsBuilder()

Luciad.Symbology.Military.MilitarySymbolStyle.Builder Luciad.Symbology.Military.MilitarySymbolStyle.AsBuilder ( )
inline

Creates a new builder with the same properties as this symbol style.

a new builder with the same properties as this symbol style.

Warning
C# documentation translation is incomplete. You can find more information in the C++ documentation for luciad::MilitarySymbolStyle::asBuilder.

◆ Dispose()

void Luciad.Symbology.Military.MilitarySymbolStyle.Dispose ( )
inline

◆ GetAffiliationColor()

System.Drawing.Color Luciad.Symbology.Military.MilitarySymbolStyle.GetAffiliationColor ( Luciad.Symbology.Military.MilitarySymbol.Affiliation  affiliation)
inline

Returns the color that is configured for the given affiliation.

This color is used as fill color for framed icon symbols. For unframed icon symbols and line symbols, affiliation colors are only used when the affiliation color mode has been enabled (see isAffiliationColorEnabled).

affiliation

the affiliation.

the affiliation color.

Warning
C# documentation translation is incomplete. You can find more information in the C++ documentation for luciad::MilitarySymbolStyle::getAffiliationColor.

◆ GetDefaultTextStyle()

Luciad.Text.TextStyle Luciad.Symbology.Military.MilitarySymbolStyle.GetDefaultTextStyle ( uint  iconSize)
inlinestatic

Returns the default text style.

The text style has a correctly scaled font size for a symbol with a specific icon size.

iconSize

length of width/height of symbol icon in pixel.

the default text style.

Warning
C# documentation translation is incomplete. You can find more information in the C++ documentation for luciad::MilitarySymbolStyle::getDefaultTextStyle.

◆ NewBuilder()

Luciad.Symbology.Military.MilitarySymbolStyle.Builder Luciad.Symbology.Military.MilitarySymbolStyle.NewBuilder ( )
inlinestatic

Creates a new builder for creating a MilitarySymbolStyle.

a new builder for creating a MilitarySymbolStyle.

Warning
C# documentation translation is incomplete. You can find more information in the C++ documentation for luciad::MilitarySymbolStyle::newBuilder.

Property Documentation

◆ AlternateFillColor

System.Drawing.Color Luciad.Symbology.Military.MilitarySymbolStyle.AlternateFillColor
get

◆ Color

System.Drawing.Color Luciad.Symbology.Military.MilitarySymbolStyle.Color
get

◆ CornerSmoothness

double Luciad.Symbology.Military.MilitarySymbolStyle.CornerSmoothness
get

◆ DefaultStyle

Luciad.Symbology.Military.MilitarySymbolStyle Luciad.Symbology.Military.MilitarySymbolStyle.DefaultStyle
staticget

◆ FillPercentage

double Luciad.Symbology.Military.MilitarySymbolStyle.FillPercentage
get

◆ IconSize

uint Luciad.Symbology.Military.MilitarySymbolStyle.IconSize
get

◆ IsAffiliationColorEnabled

bool Luciad.Symbology.Military.MilitarySymbolStyle.IsAffiliationColorEnabled
get

◆ IsFillEnabled

bool Luciad.Symbology.Military.MilitarySymbolStyle.IsFillEnabled
get

◆ IsFrameEnabled

bool Luciad.Symbology.Military.MilitarySymbolStyle.IsFrameEnabled
get

◆ IsIconEnabled

bool Luciad.Symbology.Military.MilitarySymbolStyle.IsIconEnabled
get

◆ IsModifiersEnabled

bool Luciad.Symbology.Military.MilitarySymbolStyle.IsModifiersEnabled
get

◆ IsSurroundingRectangleEnabled

bool Luciad.Symbology.Military.MilitarySymbolStyle.IsSurroundingRectangleEnabled
get

◆ OverrideColor

System.Drawing.? Color Luciad.Symbology.Military.MilitarySymbolStyle.OverrideColor
get

◆ StrokeScaleFactor

double Luciad.Symbology.Military.MilitarySymbolStyle.StrokeScaleFactor
get

◆ SurroundingRectangleColor

System.Drawing.Color Luciad.Symbology.Military.MilitarySymbolStyle.SurroundingRectangleColor
get

◆ SurroundingRectangleWidth

uint Luciad.Symbology.Military.MilitarySymbolStyle.SurroundingRectangleWidth
get

◆ TextStyle

Luciad.Text.TextStyle Luciad.Symbology.Military.MilitarySymbolStyle.TextStyle
get