Defines a Fill object used to paint the interior of the given graphical element.
The following tables list the members exposed by the Fill type.
Public Methods
| Name | Description | |
|---|---|---|
| Clone |
Creates a copy of the current Fill.
| |
| Equals | (Inherited from Object.) | |
| GetHashCode | Serves as a hash function for a particular type. GetHashCode() is suitable for use in hashing algorithms and data structures like a hash table. (Inherited from Object.) | |
| GetType | Gets the Type of the current instance. (Inherited from Object.) | |
| ToString | Overloaded. |
Protected Methods
| Name | Description | |
|---|---|---|
| Finalize | Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.) | |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
Public Constructors
| Name | Description | |
|---|---|---|
| FillNew | Overloaded. |
Public Properties
| Name | Description | |
|---|---|---|
| BackgroundColor |
Gets or sets the background color used by Solid and Pattern fill types.
| |
| BackgroundTextureUrl |
Gets or sets the image URL to fill the interior of a surface used by Texture fill type.
| |
| ForegroundColor |
Gets or sets the foreground color used by Pattern fill type.
| |
| GradientAngle |
Gets or sets the orientation angle used by Gradient fill type. It is measured counterclockwise from the x-axis.
| |
| GradientColor1 |
Gets or sets the starting color used by Gradient fill type.
| |
| GradientColor2 |
Gets or sets the ending color used by Gradient fill type.
| |
| Pattern |
Gets or sets the pattern or hatch style used by Pattern fill type.
| |
| Type |
Gets or sets the fill type.
| |
| WrapMode |
Gets or sets a WrapMode enumeration that indicates the wrap mode for Texture fill type.
|