StiGlassBrush Class
Namespace: Stimulsoft.Base.Drawing
Inheritance
Inherits from: StiBrush
Constructors
| Constructor | Description |
|---|---|
| StiGlassBrush() | Creates a new instance of the StiGlassBrush class. |
| StiGlassBrush(Color color, bool drawHatch, float blend) | Creates a new instance of the StiGlassBrush class. |
StiGlassBrush()
Creates a new instance of the StiGlassBrush class.
StiGlassBrush(color: Color, drawHatch: bool, blend: float)
Creates a new instance of the StiGlassBrush class.
Parameters
- color (Color) — A color of this StiGlassBrush object.
- drawHatch (bool)
- blend (float)
Properties
| Property | Type | Description |
|---|---|---|
| Color | Color | |
| DrawHatch | bool |
Methods
| Method | Returns | Description |
|---|---|---|
| Draw | void | |
| Equals (+1 overloads) | bool | |
| GetBottomBrush | Brush | |
| GetBottomColor | Color | |
| GetBottomColorLight | Color | |
| GetBottomRectangle | RectangleF | |
| GetHashCode | int | |
| GetTopBrush | Brush | |
| GetTopColor | Color | |
| GetTopColorLight | Color | |
| GetTopRectangle | RectangleF | |
| LoadValuesFromJson | void |
Method Details
Draw
Draw(g: Graphics, rect: RectangleF): void
Parameters
- g (Graphics)
- rect (RectangleF)
Equals
Equals(other: StiGlassBrush): bool
Parameters
- other (StiGlassBrush)
Returns bool
Equals(obj: object): bool
Parameters
- obj (object)
Returns bool
GetBottomBrush
GetBottomBrush(): Brush
Returns Brush
GetBottomColor
GetBottomColor(): Color
Returns Color
GetBottomColorLight
GetBottomColorLight(): Color
Returns Color
GetBottomRectangle
GetBottomRectangle(rect: RectangleF): RectangleF
Parameters
- rect (RectangleF)
Returns RectangleF
GetHashCode
GetHashCode(): int
Returns int
GetTopBrush
GetTopBrush(): Brush
Returns Brush
GetTopColor
GetTopColor(): Color
Returns Color
GetTopColorLight
GetTopColorLight(): Color
Returns Color
GetTopRectangle
GetTopRectangle(rect: RectangleF): RectangleF
Parameters
- rect (RectangleF)
Returns RectangleF
LoadValuesFromJson
LoadValuesFromJson(jObject: JObject): void
Parameters
- jObject (JObject)