API Reference
Class
VisualCanvasLayer
Base type for visual canvas layers.
Inheritance
- Object
- VisualCanvasLayer
Usage
This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.
Accepted by parameters
- Method VisualCanvas.AddLayer
Constructors
VisualCanvasLayer(System.Double x, System.Double y, System.Double width, System.Double height) #Initializes a new visual canvas layer.
Parameters
- x System.Double
- The layer X coordinate.
- y System.Double
- The layer Y coordinate.
- width System.Double
- The layer width.
- height System.Double
- The layer height.
Methods
ValidateFinite(System.Double value, System.String parameterName) #Validates that a numeric value is finite.
Parameters
- value System.Double
- The value to validate.
- parameterName System.String
- The parameter name used when throwing.
ValidateNonNegative(System.Double value, System.String parameterName) #Validates that a numeric value is finite and not negative.
Parameters
- value System.Double
- The value to validate.
- parameterName System.String
- The parameter name used when throwing.
ValidatePositive(System.Double value, System.String parameterName) #Validates that a numeric value is finite and positive.
Parameters
- value System.Double
- The value to validate.
- parameterName System.String
- The parameter name used when throwing.