Table of Contents

Struct RenderOptions

Namespace
Avalonia.Media
Assembly
Avalonia.Base.dll
public readonly struct RenderOptions : IEquatable<RenderOptions>
Implements
Inherited Members

Properties

BitmapBlendingMode

public BitmapBlendingMode BitmapBlendingMode { get; init; }

Property Value

BitmapBlendingMode

BitmapInterpolationMode

public BitmapInterpolationMode BitmapInterpolationMode { get; init; }

Property Value

BitmapInterpolationMode

EdgeMode

public EdgeMode EdgeMode { get; init; }

Property Value

EdgeMode

RequiresFullOpacityHandling

public bool? RequiresFullOpacityHandling { get; init; }

Property Value

bool?

TextRenderingMode

public TextRenderingMode TextRenderingMode { get; init; }

Property Value

TextRenderingMode

Methods

Equals(RenderOptions)

public bool Equals(RenderOptions other)

Parameters

other RenderOptions

Returns

bool

Equals(object)

public override bool Equals(object obj)

Parameters

obj object

Returns

bool

GetBitmapBlendingMode(Visual)

Gets the value of the BitmapBlendingMode attached property for a visual.

public static BitmapBlendingMode GetBitmapBlendingMode(Visual visual)

Parameters

visual Visual

The 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 Visual

The 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 Visual

The control.

Returns

EdgeMode

The value.

GetHashCode()

public override int GetHashCode()

Returns

int

GetRequiresFullOpacityHandling(Visual)

Gets the value of the RequiresFullOpacityHandling attached property for a visual.

public static bool? GetRequiresFullOpacityHandling(Visual visual)

Parameters

visual Visual

The 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 Visual

The control.

Returns

TextRenderingMode

The value.

MergeWith(RenderOptions)

public RenderOptions MergeWith(RenderOptions other)

Parameters

other RenderOptions

Returns

RenderOptions

SetBitmapBlendingMode(Visual, BitmapBlendingMode)

Sets the value of the BitmapBlendingMode attached property for a visual.

public static void SetBitmapBlendingMode(Visual visual, BitmapBlendingMode value)

Parameters

visual Visual

The control.

value BitmapBlendingMode

The 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 Visual

The control.

value BitmapInterpolationMode

The value.

SetEdgeMode(Visual, EdgeMode)

Sets the value of the EdgeMode attached property for a visual.

public static void SetEdgeMode(Visual visual, EdgeMode value)

Parameters

visual Visual

The control.

value EdgeMode

The value.

SetRequiresFullOpacityHandling(Visual, bool?)

Sets the value of the RequiresFullOpacityHandling attached property for a visual.

public static void SetRequiresFullOpacityHandling(Visual visual, bool? value)

Parameters

visual Visual

The control.

value bool?

The value.

SetTextRenderingMode(Visual, TextRenderingMode)

Sets the value of the TextRenderingMode attached property for a visual.

public static void SetTextRenderingMode(Visual visual, TextRenderingMode value)

Parameters

visual Visual

The control.

value TextRenderingMode

The value.

ToString()

public override string ToString()

Returns

string

Operators

operator ==(RenderOptions, RenderOptions)

public static bool operator ==(RenderOptions left, RenderOptions right)

Parameters

left RenderOptions
right RenderOptions

Returns

bool

operator !=(RenderOptions, RenderOptions)

public static bool operator !=(RenderOptions left, RenderOptions right)

Parameters

left RenderOptions
right RenderOptions

Returns

bool