Elin Decompiled Documentation EA 23.197 Nightly Patch 1
Loading...
Searching...
No Matches
PrimitiveUI.StrokeStyle Class Reference

Public Member Functions

 StrokeStyle (Color color, float thickness, StrokeScaleMode scaleMode)
 

Public Attributes

Color color
 
float thickness
 
StrokeScaleMode scaleMode
 

Properties

static StrokeStyle defaultStrokeStyle [get]
 

Static Private Attributes

static StrokeStyle defaultStrokeStyleInstance
 

Detailed Description

Definition at line 7 of file StrokeStyle.cs.

Constructor & Destructor Documentation

◆ StrokeStyle()

PrimitiveUI.StrokeStyle.StrokeStyle ( Color  color,
float  thickness,
StrokeScaleMode  scaleMode 
)
inline

Definition at line 29 of file StrokeStyle.cs.

30 {
31 this.color = color;
32 this.thickness = thickness;
33 this.scaleMode = scaleMode;
34 }
StrokeScaleMode scaleMode
Definition: StrokeStyle.cs:13

References PrimitiveUI.StrokeStyle.color, PrimitiveUI.StrokeStyle.scaleMode, and PrimitiveUI.StrokeStyle.thickness.

Member Data Documentation

◆ color

Color PrimitiveUI.StrokeStyle.color

◆ defaultStrokeStyleInstance

StrokeStyle PrimitiveUI.StrokeStyle.defaultStrokeStyleInstance
staticprivate

Definition at line 15 of file StrokeStyle.cs.

◆ scaleMode

StrokeScaleMode PrimitiveUI.StrokeStyle.scaleMode

◆ thickness

float PrimitiveUI.StrokeStyle.thickness

Property Documentation

◆ defaultStrokeStyle

StrokeStyle PrimitiveUI.StrokeStyle.defaultStrokeStyle
staticget

Definition at line 17 of file StrokeStyle.cs.

18 {
19 get
20 {
22 {
23 defaultStrokeStyleInstance = new StrokeStyle(Color.white, 0.04f, StrokeScaleMode.Relative);
24 }
26 }
27 }
StrokeStyle(Color color, float thickness, StrokeScaleMode scaleMode)
Definition: StrokeStyle.cs:29
static StrokeStyle defaultStrokeStyleInstance
Definition: StrokeStyle.cs:15

Referenced by PrimitiveUI.PrimitiveCanvas.DrawLine(), and PrimitiveUI.PrimitiveCanvas.DrawPath().


The documentation for this class was generated from the following file: