Table of Contents

Enum ExtendMode

Namespace
SharpDX.Direct2D1
Assembly
SharpDX.Direct2D1.dll

Specifies how a brush paints areas outside of its normal content area.

public enum ExtendMode

Fields

Clamp = 0

Repeat the edge pixels of the brush's content for all regions outside the normal content area.

Mirror = 2

The same as D2D1_EXTEND_MODE_WRAP, except that alternate tiles of the brush's content are flipped. (The brush's normal content is drawn untransformed.)

Wrap = 1

Repeat the brush's content.

Remarks

For an BitmapBrush, the brush's content is the brush's bitmap. For an LinearGradientBrush, the brush's content area is the gradient axis. For an RadialGradientBrush, the brush's content is the area within the gradient ellipse.