/// <summary> /// Initializes a new instance of the <see cref="LayerParameters1"/> struct. /// </summary> /// <param name="contentBounds">The content bounds.</param> /// <param name="geometryMask">The geometry mask.</param> /// <param name="maskAntialiasMode">The mask antialias mode.</param> /// <param name="maskTransform">The mask transform.</param> /// <param name="opacity">The opacity.</param> /// <param name="opacityBrush">The opacity brush.</param> /// <param name="layerOptions">The layer options.</param> public LayerParameters1(RawRectangleF contentBounds, Geometry geometryMask, AntialiasMode maskAntialiasMode, RawMatrix3x2 maskTransform, float opacity, Brush opacityBrush, LayerOptions1 layerOptions) : this() { ContentBounds = contentBounds; geometricMask_ = geometryMask.NativePointer; MaskAntialiasMode = maskAntialiasMode; MaskTransform = maskTransform; Opacity = opacity; opacityBrush_ = opacityBrush.NativePointer; LayerOptions = layerOptions; }
/// <summary> /// Initializes a new instance of the <see cref="LayerParameters1"/> struct. /// </summary> /// <param name="contentBounds">The content bounds.</param> /// <param name="geometryMask">The geometry mask.</param> /// <param name="maskAntialiasMode">The mask antialias mode.</param> /// <param name="maskTransform">The mask transform.</param> /// <param name="opacity">The opacity.</param> /// <param name="opacityBrush">The opacity brush.</param> /// <param name="layerOptions">The layer options.</param> public LayerParameters1(RawRectangleF contentBounds, Geometry geometryMask, AntialiasMode maskAntialiasMode, RawMatrix3x2 maskTransform, float opacity, Brush opacityBrush, LayerOptions1 layerOptions) : this() { ContentBounds = contentBounds; geometricMask_ = geometryMask.NativePointer; MaskAntialiasMode = maskAntialiasMode; MaskTransform = maskTransform; Opacity = opacity; opacityBrush_ = opacityBrush.NativePointer; LayerOptions = layerOptions; }