[]
        
(Showing Draft Content)

GrapeCity.Documents.DX.Direct2D.LayerParameters1

Struct LayerParameters1

Namespace
GrapeCity.Documents.DX.Direct2D
Assembly
GcDocs.DX.Windows.dll

D2D1_LAYER_PARAMETERS1

public struct LayerParameters1
Inherited Members
System.ValueType.Equals(object)
System.ValueType.GetHashCode()
System.ValueType.ToString()
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetType()

Constructors

LayerParameters1(RectF, Geometry, AntialiasMode, Matrix3x2, float, Brush, LayerOptions1)

Initializes a new instance of the LayerParameters1 struct.

public LayerParameters1(RectF contentBounds, Geometry geometryMask, AntialiasMode maskAntialiasMode, Matrix3x2 maskTransform, float opacity, Brush opacityBrush, LayerOptions1 layerOptions)

Parameters

contentBounds RectF

The content bounds.

geometryMask Geometry

The geometry mask.

maskAntialiasMode AntialiasMode

The mask antialias mode.

maskTransform Matrix3x2

The mask transform.

opacity float

The opacity.

opacityBrush Brush

The opacity brush.

layerOptions LayerOptions1

The layer options.

Fields

ContentBounds

D2D_RECT_F contentBounds

public RectF ContentBounds

Field Value

RectF

GeometricMaskPointer

ID2D1Geometry* geometricMask

public IntPtr GeometricMaskPointer

Field Value

System.IntPtr

LayerOptions

D2D1_LAYER_OPTIONS1 layerOptions

public LayerOptions1 LayerOptions

Field Value

LayerOptions1

MaskAntialiasMode

D2D1_ANTIALIAS_MODE maskAntialiasMode

public AntialiasMode MaskAntialiasMode

Field Value

AntialiasMode

MaskTransform

D2D_MATRIX_3X2_F maskTransform

public Matrix3x2 MaskTransform

Field Value

Matrix3x2

Opacity

float opacity

public float Opacity

Field Value

float

OpacityBrushPointer

ID2D1Brush* opacityBrush

public IntPtr OpacityBrushPointer

Field Value

System.IntPtr

Methods

SetGeometricMask(Geometry)

Sets the geometric mask.

public void SetGeometricMask(Geometry geometry)

Parameters

geometry Geometry

SetOpacityBrush(Brush)

Sets the opacity brush.

public void SetOpacityBrush(Brush brush)

Parameters

brush Brush