ClassChessboardEffect
A pixel shader effect that simulates a chess board.
Definition
Namespace:Telerik.Windows.Controls.ColorEditor.Effects
Assembly:Telerik.Windows.Controls.Input.dll
Syntax:
public class ChessboardEffect : ShaderEffect
Inheritance: objectChessboardEffect
Constructors
ChessboardEffect()
Initializes a new instance of the ChessboardEffect class.
Declaration
public ChessboardEffect()
Fields
InputProperty
Identifies the Input property.
Declaration
public static readonly DependencyProperty InputProperty
Field Value
DependencyProperty
SquareSizeXProperty
Identifies the SquareSizeX property.
Declaration
public static readonly DependencyProperty SquareSizeXProperty
Field Value
DependencyProperty
SquareSizeYProperty
Identifies the SquareSizeY property.
Declaration
public static readonly DependencyProperty SquareSizeYProperty
Field Value
DependencyProperty
Properties
Input
Gets or sets the brush on which the chessboard effect will be applied.
Declaration
public Brush Input { get; set; }
Property Value
Brush
The input.
SquareSizeX
The number of vertical bands to add to the output. The higher the value the more bands.
Declaration
public double SquareSizeX { get; set; }
Property Value
The square size X.
SquareSizeY
The number of vertical bands to add to the output. The higher the value the more bands.
Declaration
public double SquareSizeY { get; set; }
Property Value
The square size Y.