Struct RenderOptions
public readonly struct RenderOptions : IEquatable<RenderOptions>
- Implements
- Inherited Members
Properties
BitmapBlendingMode
public BitmapBlendingMode BitmapBlendingMode { get; init; }
Property Value
BitmapInterpolationMode
public BitmapInterpolationMode BitmapInterpolationMode { get; init; }
Property Value
EdgeMode
public EdgeMode EdgeMode { get; init; }
Property Value
RequiresFullOpacityHandling
public bool? RequiresFullOpacityHandling { get; init; }
Property Value
- bool?
TextRenderingMode
public TextRenderingMode TextRenderingMode { get; init; }
Property Value
Methods
Equals(RenderOptions)
public bool Equals(RenderOptions other)
Parameters
other
RenderOptions
Returns
Equals(object)
public override bool Equals(object obj)
Parameters
obj
object
Returns
GetBitmapBlendingMode(Visual)
Gets the value of the BitmapBlendingMode attached property for a visual.
public static BitmapBlendingMode GetBitmapBlendingMode(Visual visual)
Parameters
visual
VisualThe control.
Returns
- BitmapBlendingMode
The value.
GetBitmapInterpolationMode(Visual)
Gets the value of the BitmapInterpolationMode attached property for a visual.
public static BitmapInterpolationMode GetBitmapInterpolationMode(Visual visual)
Parameters
visual
VisualThe control.
Returns
- BitmapInterpolationMode
The value.
GetEdgeMode(Visual)
Gets the value of the EdgeMode attached property for a visual.
public static EdgeMode GetEdgeMode(Visual visual)
Parameters
visual
VisualThe control.
Returns
- EdgeMode
The value.
GetHashCode()
public override int GetHashCode()
Returns
GetRequiresFullOpacityHandling(Visual)
Gets the value of the RequiresFullOpacityHandling attached property for a visual.
public static bool? GetRequiresFullOpacityHandling(Visual visual)
Parameters
visual
VisualThe control.
Returns
- bool?
The value.
GetTextRenderingMode(Visual)
Gets the value of the TextRenderingMode attached property for a visual.
public static TextRenderingMode GetTextRenderingMode(Visual visual)
Parameters
visual
VisualThe control.
Returns
- TextRenderingMode
The value.
MergeWith(RenderOptions)
public RenderOptions MergeWith(RenderOptions other)
Parameters
other
RenderOptions
Returns
SetBitmapBlendingMode(Visual, BitmapBlendingMode)
Sets the value of the BitmapBlendingMode attached property for a visual.
public static void SetBitmapBlendingMode(Visual visual, BitmapBlendingMode value)
Parameters
visual
VisualThe control.
value
BitmapBlendingModeThe left value.
SetBitmapInterpolationMode(Visual, BitmapInterpolationMode)
Sets the value of the BitmapInterpolationMode attached property for a visual.
public static void SetBitmapInterpolationMode(Visual visual, BitmapInterpolationMode value)
Parameters
visual
VisualThe control.
value
BitmapInterpolationModeThe value.
SetEdgeMode(Visual, EdgeMode)
Sets the value of the EdgeMode attached property for a visual.
public static void SetEdgeMode(Visual visual, EdgeMode value)
Parameters
SetRequiresFullOpacityHandling(Visual, bool?)
Sets the value of the RequiresFullOpacityHandling attached property for a visual.
public static void SetRequiresFullOpacityHandling(Visual visual, bool? value)
Parameters
SetTextRenderingMode(Visual, TextRenderingMode)
Sets the value of the TextRenderingMode attached property for a visual.
public static void SetTextRenderingMode(Visual visual, TextRenderingMode value)
Parameters
visual
VisualThe control.
value
TextRenderingModeThe value.
ToString()
public override string ToString()
Returns
Operators
operator ==(RenderOptions, RenderOptions)
public static bool operator ==(RenderOptions left, RenderOptions right)
Parameters
left
RenderOptionsright
RenderOptions
Returns
operator !=(RenderOptions, RenderOptions)
public static bool operator !=(RenderOptions left, RenderOptions right)
Parameters
left
RenderOptionsright
RenderOptions