Table of Contents

Struct Graphics.CanvasCreateParams

Namespace
Alternet.Drawing
Assembly
Alternet.UI.Common.dll

Represents the parameters required to create a measure canvas.

public struct Graphics.CanvasCreateParams : IEquatable<Graphics.CanvasCreateParams>
Implements

Remarks

This structure is used to encapsulate the configuration options or data necessary for initializing a measure canvas. The specific parameters should be defined within this structure to ensure clarity and maintainability.

Constructors

CanvasCreateParams()

Initializes a new instance of the Graphics.CanvasCreateParams class.

CanvasCreateParams(float?)

Initializes a new instance of the Graphics.CanvasCreateParams class with the specified scale factor.

CanvasCreateParams(float?, ControlRenderingFlags)

Initializes a new instance of the Graphics.CanvasCreateParams class with the specified scale factor and control rendering flags.

Properties

ControlRenderingFlags

Specifies the rendering options for a control.

GraphicsBackendType

Gets the graphics backend type used for rendering.

ScaleFactor

Represents a scaling factor for a coordinate system.

Methods

Equals(CanvasCreateParams)

Determines whether the current instance is equal to another instance of Graphics.CanvasCreateParams.

Equals(object?)

Indicates whether this instance and a specified object are equal.

GetHashCode()

Returns the hash code for this instance.

ToString()

Returns the fully qualified type name of this instance.