menu

WinForms

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Interface IGTransform - WindowsForms API Reference | Syncfusion

    Show / Hide Table of Contents

    Interface IGTransform

    Interface to Graph nodes that can translate and rotate.

    Namespace: Syncfusion.Windows.Forms.Diagram
    Assembly: Syncfusion.Diagram.Base.dll
    Syntax
    public interface IGTransform

    Methods

    Rotate(Single)

    Rotates the node a specified number of degrees about its center point.

    Declaration
    void Rotate(float fDegree)
    Parameters
    Type Name Description
    System.Single fDegree

    Number of degrees to rotate.

    RotateAt(PointF, Single)

    Rotates the node a specified number of degrees about a given anchor point.

    Declaration
    void RotateAt(PointF ptAnchor, float fDegree)
    Parameters
    Type Name Description
    System.Drawing.PointF ptAnchor

    Fixed point about which to rotate.

    System.Single fDegree

    Number of degrees to rotate.

    Translate(Single, Single)

    Moves the node by the given X and Y offsets.

    Declaration
    void Translate(float dx, float dy)
    Parameters
    Type Name Description
    System.Single dx

    Distance to move along X axis.

    System.Single dy

    Distance to move along Y axis.

    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved