A cross composed of two diagonal lines.

Namespace: yWorks.Canvas.Drawing
Assembly: yWorks.yFilesSilverlight.Viewer (in yWorks.yFilesSilverlight.Viewer.dll) Version: 2.4.0.0

Syntax

C#
public class CrossShape : Control
Visual Basic
Public Class CrossShape _ Inherits Control

Remarks

The Center properties determines the center of the cross while the Offset determines it's extend so the first line is between (X - Offset/2, Y - Offset/2) and (X + Offset/2, Y + Offset/2) and the second between (X + Offset/2, Y - Offset/2) and (X - Offset/2, Y + Offset/2).

Inheritance Hierarchy

System..::..Object
  System.Windows..::..DependencyObject
    System.Windows..::..UIElement
      System.Windows..::..FrameworkElement
        System.Windows.Controls..::..Control
          yWorks.Canvas.Drawing..::..CrossShape

See Also