A cross composed of two diagonal lines.

Namespace: yWorks.Canvas.Drawing
Assembly: yWorks.yFilesWPF.Viewer (in yWorks.yFilesWPF.Viewer.dll) Version: 2.2.0.2 (2.2.0.2)

Syntax

C#
[ObfuscationAttribute(Exclude = true, StripAfterObfuscation = false, 
	ApplyToMembers = true)]
public class CrossShape : Shape
Visual Basic
<ObfuscationAttribute(Exclude := True, StripAfterObfuscation := False,  _
	ApplyToMembers := True)> _
Public Class CrossShape _
	Inherits Shape

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, Y - Offset) and (X + Offset, Y + Offset) and the second between (X + Offset, Y - Offset) and (X - Offset, Y + Offset).

Inheritance Hierarchy

System..::..Object
  System.Windows.Threading..::..DispatcherObject
    System.Windows..::..DependencyObject
      System.Windows.Media..::..Visual
        System.Windows..::..UIElement
          System.Windows..::..FrameworkElement
            System.Windows.Shapes..::..Shape
              yWorks.Canvas.Drawing..::..CrossShape

See Also