Hatch |
public abstract class HatchBrushBase : ImageProxy, IHatchBrushTexture, ISyntheticRepeatableTexture
The HatchBrushBase type exposes the following members.
| Name | Description | |
|---|---|---|
| HatchBrushBase | Initializes a new instance of the HatchBrushBase class |
| Name | Description | |
|---|---|---|
| ContentHash |
Gets a string that is unique for the content of the proxy.
(Overrides ImageProxyContentHash) | |
| IsValid |
Returns true if this image proxy holds valid content.
(Overrides ImageProxyIsValid) | |
| Name |
Gets the name of the instance. Can be a file name, resource name, Url etc.
(Overrides ImageProxyName) | |
| RepeatLength | Gets the repeat length in points. | |
| Size | Returns the original size of the image in points (1/72 inch). (Overrides ImageProxySize) | |
| StructureFactor | Gets the structure factor. |
| Name | Description | |
|---|---|---|
| Equals | Determines whether the specified object is equal to the current object. (Inherited from Object) | |
| Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object) | |
| GetContentStream |
Gets the content of the image proxy as a (library independent) stream. Any library that can read image streams can be used to convert the stream in the corresponding image.
(Overrides ImageProxyGetContentStream) | |
| GetContentStream(Double) | Gets an image of the texture. The image dimensions (pixels in x and y direction) are calculated using the provided maxEffectiveResolutionDpi. | |
| GetContentStream(Double, NamedColor, NamedColor) | Gets an image of the texture. The image dimensions (pixels in x and y direction) are calculated using the provided maxEffectiveResolutionDpi. | |
| GetHashCode | Serves as the default hash function. (Inherited from Object) | |
| GetImage | Creates the hatch image for the specified resolution and colors. | |
| GetPixelDimensions | Calculates the bitmap dimension used to generate the hatch texture. | |
| GetType | Gets the Type of the current instance. (Inherited from Object) | |
| HasSameContentAs |
Determines whether the provided image proxy has the same content as this one.
(Inherited from ImageProxy) | |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object) | |
| ToString |
Converts to string.
(Inherited from ImageProxy) | |
| WithRepeatLength | Creates a copy with a different repeat length. | |
| WithStructureFactor | Creates a copy with a different structure factor. |
| Name | Description | |
|---|---|---|
| _defaultBackColor | The default background color for generated hatch textures. | |
| _defaultForeColor | The default foreground color for generated hatch textures. | |
| _repeatLengthPt | Repeat length in points (1/72 inch) in x-direction. | |
| _structureFactor | Structure factor. For hatch brushes based on lines, the line width is this value times the repeat length. For shape based brushes, the size of the shape is this value times the repeat length. | |
| DefaultEffectiveResolution | The default effective resolution in dpi. |