Skip to main content

PictureEditOptionsMask Members

Contains settings that enable masked mode and allow you to customize the masked mode behavior.

Constructors

Name Description
PictureEditOptionsMask() Initializes a new instance of the PictureEditOptionsMask class.
PictureEditOptionsMask(RepositoryItemPictureEdit) Initializes a new instance of the PictureEditOptionsMask class.

Properties

Name Description
CustomMask Gets or sets a custom mask, applied to the target image in PictureEditMaskType.Custom mode.
Margin Gets or sets the outer margin of the mask.
MaskLayoutMode Gets or sets how a mask is aligned relative to the target image.
MaskType Gets or sets which mask type is applied.
Offset Gets or sets the offset of the mask relative to the image.
RectCornerRadius Gets or sets the radius of rounded corners for the RoundedRect mask type (see PictureEditOptionsMask.MaskType).
Size Gets or sets a custom size for the mask.

Methods

Name Description
Assign(BaseOptions) Copies all settings from the options object passed as the parameter and assigns them to the current object.
BeginUpdate() Locks the BaseOptions object by disallowing visual updates until the EndUpdate or CancelUpdate method is called. Inherited from BaseOptions.
CancelUpdate() Unlocks the BaseOptions object after it has been locked by the BeginUpdate method, without causing an immediate visual update. Inherited from BaseOptions.
EndUpdate() Unlocks the BaseOptions object after a call to the BeginUpdate method and causes an immediate visual update. Inherited from BaseOptions.
Equals(Object, Object) static Determines whether the specified object instances are considered equal. Inherited from Object.
Equals(Object) Determines whether the specified object is equal to the current object. Inherited from Object.
GetHashCode() Serves as the default hash function. Inherited from Object.
GetType() Gets the Type of the current instance. Inherited from Object.
MemberwiseClone() protected Creates a shallow copy of the current Object. Inherited from Object.
ReferenceEquals(Object, Object) static Determines whether the specified Object instances are the same instance. Inherited from Object.
Reset() Resets all options to their default values. Inherited from BaseOptions.
ToString() Returns a string representing the currently enabled options. Inherited from BaseOptions.

Events

Name Description
Changed For internal use.
See Also