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
DestinationRectangleTarget bounds to render brush into.
TextureRenderingOptions(Rectangle, Rectangle?)
Represents an options for the texture and brush rendering.
public TextureRenderingOptions(Rectangle Destination, Rectangle? Source)
Parameters
DestinationRectangleTarget bounds to render brush into.
SourceRectangle?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
DestinationRectangleTarget bounds to render brush into.
SourceRectangle?Source part of the brush (if available).
ColorColorColor 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
DestinationRectangleTarget bounds to render brush into.
SourceRectangle?Source part of the brush (if available).
ColorColorColor filter to apply for a brush.
RotationfloatRotation to apply for the rendered texture.
OriginVector2Rotation 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
DestinationRectangleTarget bounds to render brush into.
SourceRectangle?Source part of the brush (if available).
ColorColorColor filter to apply for a brush.
RotationfloatRotation to apply for the rendered texture.
OriginVector2Rotation origin to apply.
DepthfloatDepth layer.
Properties
Color
Color filter to apply for a brush.
public Color Color { get; init; }
Property Value
Depth
Depth layer.
public float Depth { get; init; }
Property Value
Destination
Target bounds to render brush into.
public Rectangle Destination { get; init; }
Property Value
Origin
Rotation origin to apply.
public Vector2 Origin { get; init; }
Property Value
Rotation
Rotation to apply for the rendered texture.
public float Rotation { get; init; }
Property Value
Source
Source part of the brush (if available).
public Rectangle? Source { get; init; }