Class
ChessboardEffect

A pixel shader effect that simulates a chess board.

Definition

Namespace:Telerik.Windows.Controls.ColorEditor.Effects

Assembly:Telerik.Windows.Controls.Input.dll

Syntax:

cs-api-definition
public class ChessboardEffect : ShaderEffect

Inheritance: objectChessboardEffect

Constructors

ChessboardEffect()

Initializes a new instance of the ChessboardEffect class.

Declaration

cs-api-definition
public ChessboardEffect()

Fields

InputProperty

Identifies the Input property.

Declaration

cs-api-definition
public static readonly DependencyProperty InputProperty

Field Value

DependencyProperty

SquareSizeXProperty

Identifies the SquareSizeX property.

Declaration

cs-api-definition
public static readonly DependencyProperty SquareSizeXProperty

Field Value

DependencyProperty

SquareSizeYProperty

Identifies the SquareSizeY property.

Declaration

cs-api-definition
public static readonly DependencyProperty SquareSizeYProperty

Field Value

DependencyProperty

Properties

Input

Gets or sets the brush on which the chessboard effect will be applied.

Declaration

cs-api-definition
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

cs-api-definition
public double SquareSizeX { get; set; }

Property Value

double

The square size X.

SquareSizeY

The number of vertical bands to add to the output. The higher the value the more bands.

Declaration

cs-api-definition
public double SquareSizeY { get; set; }

Property Value

double

The square size Y.