Table of Contents

Struct TextureRenderingOptions

Namespace
Icy.Rendering
Assembly
IcyUI.dll

Represents an options for the texture and brush rendering.

public readonly record struct TextureRenderingOptions : IEquatable<TextureRenderingOptions>
Implements
Inherited Members
Extension Methods

Constructors

TextureRenderingOptions(Rectangle)

Represents an options for the texture and brush rendering.

public TextureRenderingOptions(Rectangle Destination)

Parameters

Destination Rectangle

Target bounds to render brush into.

TextureRenderingOptions(Rectangle, Rectangle?)

Represents an options for the texture and brush rendering.

public TextureRenderingOptions(Rectangle Destination, Rectangle? Source)

Parameters

Destination Rectangle

Target bounds to render brush into.

Source Rectangle?

Source part of the brush (if available).

TextureRenderingOptions(Rectangle, Rectangle?, Color)

Represents an options for the texture and brush rendering.

public TextureRenderingOptions(Rectangle Destination, Rectangle? Source, Color Color)

Parameters

Destination Rectangle

Target bounds to render brush into.

Source Rectangle?

Source part of the brush (if available).

Color Color

Color filter to apply for a brush.

TextureRenderingOptions(Rectangle, Rectangle?, Color, float, Vector2)

Represents an options for the texture and brush rendering.

public TextureRenderingOptions(Rectangle Destination, Rectangle? Source, Color Color, float Rotation, Vector2 Origin)

Parameters

Destination Rectangle

Target bounds to render brush into.

Source Rectangle?

Source part of the brush (if available).

Color Color

Color filter to apply for a brush.

Rotation float

Rotation to apply for the rendered texture.

Origin Vector2

Rotation origin to apply.

TextureRenderingOptions(Rectangle, Rectangle?, Color, float, Vector2, float)

Represents an options for the texture and brush rendering.

public TextureRenderingOptions(Rectangle Destination, Rectangle? Source, Color Color, float Rotation, Vector2 Origin, float Depth)

Parameters

Destination Rectangle

Target bounds to render brush into.

Source Rectangle?

Source part of the brush (if available).

Color Color

Color filter to apply for a brush.

Rotation float

Rotation to apply for the rendered texture.

Origin Vector2

Rotation origin to apply.

Depth float

Depth layer.

Properties

Color

Color filter to apply for a brush.

public Color Color { get; init; }

Property Value

Color

Depth

Depth layer.

public float Depth { get; init; }

Property Value

float

Destination

Target bounds to render brush into.

public Rectangle Destination { get; init; }

Property Value

Rectangle

Origin

Rotation origin to apply.

public Vector2 Origin { get; init; }

Property Value

Vector2

Rotation

Rotation to apply for the rendered texture.

public float Rotation { get; init; }

Property Value

float

Source

Source part of the brush (if available).

public Rectangle? Source { get; init; }

Property Value

Rectangle?