<< Click to Display Table of Contents >> NShape Reference
|
Provides the definition of filling.
public sealed class FillStyle : Style, IFillStyle |
Implementation of the IFillStyle interface with writable properties.
Name |
Description |
---|---|
Default |
This static read-only field represents a default and not initialized fill style. |
StandardNames |
Returns the StandardFillStyleNames. |
The additional color of the fill style. Depending on the FillMode this means the color of the gradient's upper left or the fore color of a pattern. |
|
The base color of the fill style. Depending on the FillMode this means the fill color (FillMode.Solid), the color of a gradient's lower right (FillMode.Gradient) or a pattern's background color (FillMode.Pattern). |
|
Specifies if the colors or the image should be converted into grayscale. |
|
The angle of the color gradient in degrees. 45 means from upper left to lower right. |
|
Specifies the fill mode. |
|
The fill pattern, applies only when FillMode is set to FillMode.Pattern. |
|
Defines the image of a fill style, applies only when FillMode is set to FillMode.Image. |
|
ImageCompressionQuality |
Defines the compression factor (in percentage) when the image is saved as file with a lossy image compression format. |
Defines the gamma correction of the image. Applies only when FillMode is set to FillMode.Image. |
|
Defines the layout of the image inside its bounds. Applies only when FillMode is set to FillMode.Image. |
|
Defines the transparency of the image. Applies only when FillMode is set to FillMode.Image. |
Name |
Description |
---|---|
Assign |
Copies all properties of the given style into the current style. |
Name |
Description |
---|---|
IsStandardName |
returns true if the given string matches a standard style name (comparison is performed case insensitive). |
Namespace: Dataweb.NShape
Assembly: Dataweb.NShape