Udostępnij za pośrednictwem


BrushSettings Class

Definition

BrushSettings allows certain properties on a BrushStyleSetInfo to be marked as overridden or immutable. If certain Brush settings are marked as immutable, then they are not allowed to be changed again.

public ref class BrushSettings
public class BrushSettings
type BrushSettings = class
Public Class BrushSettings
Inheritance
BrushSettings

Constructors

BrushSettings()

Default constructor.

Properties

BackColor

Gets or sets the color of spaces between the hatch lines drawn by this HatchBrush object. Only allows the change if the property is not immutable and sets the override flags appropriately.

BrushSettingsFlags

Gets the overridden properties in the BrushStyleSetInfo.

BrushStyleSetInfo

Gets or sets the BrushStyleSetInfo associated with these settings.

BrushType

Gets or sets the type of Brush. Only allows the change if the property is not immutable and sets the override flags appropriately.

Color

Gets or sets the color of this SolidBrush object. Only allows the change if the property is not immutable and sets the override flags appropriately.

ForeColor

Gets or sets the color of hatch lines drawn by this HatchBrush object. Only allows the change if the property is not immutable and sets the override flags appropriately.

HatchStyle

Gets or sets the hatch style of this HatchBrush object. Only allows the change if the property is not immutable and sets the override flags appropriately.

Image

Gets or sets the Image object associated with this TextureBrush object. Only allows the change if the property is not immutable and sets the override flags appropriately.

ImmutableBackColor

Makes the BackColor setting immutable, unchangeable by others. Once it's make immutable, no one else can change it.

ImmutableBrushType

Makes the BrushType setting immutable, unchangeable by others. Once it's make immutable, no one else can change it.

ImmutableColor

Makes the Color setting immutable, unchangeable by others. Once it's make immutable, no one else can change it.

ImmutableForeColor

Makes the ForeColor setting immutable, unchangeable by others. Once it's make immutable, no one else can change it.

ImmutableHatchStyle

Makes the HatchStyle setting immutable, unchangeable by others. Once it's make immutable, no one else can change it.

ImmutableImage

Makes the Image setting immutable, unchangeable by others. Once it's make immutable, no one else can change it.

ImmutableTransform

Makes the Transform setting immutable, unchangeable by others. Once it's make immutable, no one else can change it.

ImmutableWrapMode

Makes the WrapMode setting immutable, unchangeable by others. Once it's make immutable, no one else can change it.

Transform

Gets or sets a Matrix object that defines a local geometric transformation for the image associated with this TextureBrush object. Only allows the change if the property is not immutable and sets the override flags appropriately.

WrapMode

Gets or sets a WrapMode enumeration that indicates the wrap mode for this TextureBrush object. Only allows the change if the property is not immutable and sets the override flags appropriately.

Methods

IsOverridden(BrushSettingsFlags)

Tests whether certain BrushSettings are overridden.

Applies to