Class Shadow
Represents the shadow used by the presentation model.
Inherited Members
Namespace: DRIT.Presentation.Drawing
Assembly: DRIT.Presentation.dll
Syntax
public class Shadow
Constructors
Shadow()
Initializes a new instance of the shadow class.
Declaration
public Shadow()
Properties
Alignment
Gets or sets the alignment associated with this object.
Declaration
public RectAlignment Alignment { get; set; }
Property Value
| Type | Description |
|---|---|
| RectAlignment |
Angle
Gets or sets the angle of the shadow in relation to the shape in degrees.
Declaration
public int Angle { get; set; }
Property Value
| Type | Description |
|---|---|
| int | Between 0 and 359 |
Blur
Gets or sets the blur radius of the shadow in points.
Declaration
public double Blur { get; set; }
Property Value
| Type | Description |
|---|---|
| double | Between 0 and 100 pt. |
Color
Gets or sets the color associated with this object.
Declaration
public DrawingColor Color { get; set; }
Property Value
| Type | Description |
|---|---|
| DrawingColor |
Distance
Gets or sets the distance of the shadow from the shape in points.
Declaration
public double Distance { get; set; }
Property Value
| Type | Description |
|---|---|
| double | Between 0 and 200 pt. |
Presets
Gets or sets the preset shadow type applied.
Declaration
public PresetShadowType Presets { get; set; }
Property Value
| Type | Description |
|---|---|
| PresetShadowType |
Size
Gets or sets the size of the shadow in percentage.
Declaration
public decimal Size { get; set; }
Property Value
| Type | Description |
|---|---|
| decimal | Between 0.01 and 2 inclusive. |
Transparency
Gets or sets the degree of transparency.
Declaration
public decimal Transparency { get; set; }
Property Value
| Type | Description |
|---|---|
| decimal | Between 0 and 1 inclusive. |
Type
Gets or sets the category type of the shadow.
Declaration
public ShadowType Type { get; set; }
Property Value
| Type | Description |
|---|---|
| ShadowType |