Class that is the shadow of an item.
More...
|
void | SetRadius (int value) |
| Setting the specified blur radius of the shadow. Default: 0. More...
|
|
int | GetRadius () |
| Getting the shadow blur raduis. More...
|
|
void | SetXOffset (int value) |
| Setting X shift of the shadow. More...
|
|
int | GetXOffset () |
| Getting X shift of the shadow. More...
|
|
void | SetYOffset (int value) |
| Setting Y shift of the shadow. More...
|
|
int | GetYOffset () |
| Setting Y shift of the shadow. More...
|
|
void | SetColor (Color color) |
| Setting shadow color. More...
|
|
void | SetColor (int r, int g, int b) |
| Setting shadow color in RGB format. More...
|
|
void | SetColor (int r, int g, int b, int a) |
| Setting shadow color in byte RGBA format. More...
|
|
void | SetColor (float r, float g, float b) |
| Setting shadow color in float RGB format. More...
|
|
void | SetColor (float r, float g, float b, float a) |
| Setting shadow color in float RGBA format. More...
|
|
Color | GetColor () |
| Getting shadow color. More...
|
|
void | SetDrop (bool value) |
| Setting drop shadow flag. More...
|
|
bool | IsDrop () |
| Getting shadow drop flag. More...
|
|
| Shadow () |
| Default Shadow class constructor. Allow shadow dropping. More...
|
|
| Shadow (int radius, int x, int y, Color color) |
| Shadow class constructor with specified blur radius, axis shifts, shadow color. Allow shadow dropping. More...
|
|
Class that is the shadow of an item.
◆ Shadow() [1/2]
SpaceVIL.Decorations.Shadow.Shadow |
( |
| ) |
|
Default Shadow class constructor. Allow shadow dropping.
◆ Shadow() [2/2]
SpaceVIL.Decorations.Shadow.Shadow |
( |
int |
radius, |
|
|
int |
x, |
|
|
int |
y, |
|
|
Color |
color |
|
) |
| |
Shadow class constructor with specified blur radius, axis shifts, shadow color. Allow shadow dropping.
- Parameters
-
radius | A blur radius of the shadow. |
x | X shift of the shadow. |
y | Y shift of the shadow. |
color | A shadow color as System.Drawing.Color. |
◆ GetColor()
Color SpaceVIL.Decorations.Shadow.GetColor |
( |
| ) |
|
Getting shadow color.
- Returns
- Returns the shadow color as System.Drawing.Color.
◆ GetRadius()
int SpaceVIL.Decorations.Shadow.GetRadius |
( |
| ) |
|
Getting the shadow blur raduis.
- Returns
- The blur radius of the shadow. Min value: 0. Max value: 10.
◆ GetXOffset()
int SpaceVIL.Decorations.Shadow.GetXOffset |
( |
| ) |
|
Getting X shift of the shadow.
- Returns
- Shift by X-axis.
◆ GetYOffset()
int SpaceVIL.Decorations.Shadow.GetYOffset |
( |
| ) |
|
Setting Y shift of the shadow.
- Returns
- Shift by Y-axis.
◆ IsDrop()
bool SpaceVIL.Decorations.Shadow.IsDrop |
( |
| ) |
|
Getting shadow drop flag.
- Returns
- True: allow shadow dropping. False: not allow shadow dropping.
◆ SetColor() [1/5]
void SpaceVIL.Decorations.Shadow.SetColor |
( |
Color |
color | ) |
|
Setting shadow color.
- Parameters
-
color | Shadow color as System.Drawing.Color. |
◆ SetColor() [2/5]
void SpaceVIL.Decorations.Shadow.SetColor |
( |
float |
r, |
|
|
float |
g, |
|
|
float |
b |
|
) |
| |
Setting shadow color in float RGB format.
- Parameters
-
r | Red color component. Range: (0.0f - 1.0f) |
g | Green color component. Range: (0.0f - 1.0f) |
b | Blue color component. Range: (0.0f - 1.0f) |
◆ SetColor() [3/5]
void SpaceVIL.Decorations.Shadow.SetColor |
( |
float |
r, |
|
|
float |
g, |
|
|
float |
b, |
|
|
float |
a |
|
) |
| |
Setting shadow color in float RGBA format.
- Parameters
-
r | Red color component. Range: (0.0f - 1.0f) |
g | Green color component. Range: (0.0f - 1.0f) |
b | Blue color component. Range: (0.0f - 1.0f) |
a | Alpha color component. Range: (0.0f - 1.0f) |
◆ SetColor() [4/5]
void SpaceVIL.Decorations.Shadow.SetColor |
( |
int |
r, |
|
|
int |
g, |
|
|
int |
b |
|
) |
| |
Setting shadow color in RGB format.
- Parameters
-
r | Red color component. Range: (0 - 255) |
g | Green color component. Range: (0 - 255) |
b | Blue color component. Range: (0 - 255) |
◆ SetColor() [5/5]
void SpaceVIL.Decorations.Shadow.SetColor |
( |
int |
r, |
|
|
int |
g, |
|
|
int |
b, |
|
|
int |
a |
|
) |
| |
Setting shadow color in byte RGBA format.
- Parameters
-
r | Red color component. Range: (0 - 255) |
g | Green color component. Range: (0 - 255) |
b | Blue color component. Range: (0 - 255) |
a | Alpha color component. Range: (0 - 255) |
◆ SetDrop()
void SpaceVIL.Decorations.Shadow.SetDrop |
( |
bool |
value | ) |
|
Setting drop shadow flag.
- Parameters
-
value | True: allow shadow dropping. False: not allow shadow dropping. |
◆ SetRadius()
void SpaceVIL.Decorations.Shadow.SetRadius |
( |
int |
value | ) |
|
Setting the specified blur radius of the shadow. Default: 0.
- Parameters
-
value | Blur radius of the shadow. Min value: 0. Max value: 10. |
◆ SetXOffset()
void SpaceVIL.Decorations.Shadow.SetXOffset |
( |
int |
value | ) |
|
Setting X shift of the shadow.
- Parameters
-
◆ SetYOffset()
void SpaceVIL.Decorations.Shadow.SetYOffset |
( |
int |
value | ) |
|
Setting Y shift of the shadow.
- Parameters
-
The documentation for this class was generated from the following file: