Elin Decompiled Documentation
EA 23.102 Nightly
Loading...
Searching...
No Matches
StrokeStyle.cs
Go to the documentation of this file.
1
using
System;
2
using
UnityEngine;
3
4
namespace
PrimitiveUI
;
5
6
[Serializable]
7
public
class
StrokeStyle
8
{
9
public
Color
color
;
10
11
public
float
thickness
;
12
13
public
StrokeScaleMode
scaleMode
;
14
15
private
static
StrokeStyle
defaultStrokeStyleInstance
;
16
17
public
static
StrokeStyle
defaultStrokeStyle
18
{
19
get
20
{
21
if
(
defaultStrokeStyleInstance
==
null
)
22
{
23
defaultStrokeStyleInstance
=
new
StrokeStyle
(
Color
.white, 0.04f,
StrokeScaleMode
.Relative);
24
}
25
return
defaultStrokeStyleInstance
;
26
}
27
}
28
29
public
StrokeStyle
(
Color
color
,
float
thickness
,
StrokeScaleMode
scaleMode
)
30
{
31
this.color =
color
;
32
this.thickness =
thickness
;
33
this.scaleMode =
scaleMode
;
34
}
35
}
FOWType.Color
@ Color
PrimitiveUI.StrokeStyle
Definition:
StrokeStyle.cs:8
PrimitiveUI.StrokeStyle.defaultStrokeStyle
static StrokeStyle defaultStrokeStyle
Definition:
StrokeStyle.cs:18
PrimitiveUI.StrokeStyle.scaleMode
StrokeScaleMode scaleMode
Definition:
StrokeStyle.cs:13
PrimitiveUI.StrokeStyle.color
Color color
Definition:
StrokeStyle.cs:9
PrimitiveUI.StrokeStyle.StrokeStyle
StrokeStyle(Color color, float thickness, StrokeScaleMode scaleMode)
Definition:
StrokeStyle.cs:29
PrimitiveUI.StrokeStyle.defaultStrokeStyleInstance
static StrokeStyle defaultStrokeStyleInstance
Definition:
StrokeStyle.cs:15
PrimitiveUI.StrokeStyle.thickness
float thickness
Definition:
StrokeStyle.cs:11
PrimitiveUI
Definition:
ControlBoxScaler.cs:4
PrimitiveUI.StrokeScaleMode
StrokeScaleMode
Definition:
StrokeScaleMode.cs:4
Elin
Plugins.UI
PrimitiveUI
StrokeStyle.cs
Generated by
1.9.6