[]
D2D1_LAYER_PARAMETERS1
public struct LayerParameters1
Initializes a new instance of the LayerParameters1 struct.
public LayerParameters1(RectF contentBounds, Geometry geometryMask, AntialiasMode maskAntialiasMode, Matrix3x2 maskTransform, float opacity, Brush opacityBrush, LayerOptions1 layerOptions)
contentBounds
RectFThe content bounds.
geometryMask
GeometryThe geometry mask.
maskAntialiasMode
AntialiasModeThe mask antialias mode.
maskTransform
Matrix3x2The mask transform.
opacity
floatThe opacity.
opacityBrush
BrushThe opacity brush.
layerOptions
LayerOptions1The layer options.
D2D_RECT_F contentBounds
public RectF ContentBounds
ID2D1Geometry* geometricMask
public IntPtr GeometricMaskPointer
D2D1_LAYER_OPTIONS1 layerOptions
public LayerOptions1 LayerOptions
D2D1_ANTIALIAS_MODE maskAntialiasMode
public AntialiasMode MaskAntialiasMode
D2D_MATRIX_3X2_F maskTransform
public Matrix3x2 MaskTransform
float opacity
public float Opacity
ID2D1Brush* opacityBrush
public IntPtr OpacityBrushPointer
Sets the geometric mask.
public void SetGeometricMask(Geometry geometry)
geometry
GeometrySets the opacity brush.
public void SetOpacityBrush(Brush brush)
brush
Brush