WinForms

Upgrade Guide User Guide Demos Support Forums Download
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class PortVisuals - WindowsForms API Reference | Syncfusion

    Show / Hide Table of Contents

    Class PortVisuals

    Contains static GraphicsPath objects that can be used for the visual representation of ports.

    Inheritance
    System.Object
    PortVisuals
    Inherited Members
    System.Object.ToString()
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    Namespace: Syncfusion.Windows.Forms.Diagram
    Assembly: Syncfusion.Diagram.Base.dll
    Syntax
    public class PortVisuals

    Constructors

    PortVisuals()

    Declaration
    public PortVisuals()

    Properties

    CirclePort

    Gets the circle with a crosshair in the middle style port.

    Declaration
    public static GraphicsPath CirclePort { get; }
    Property Value
    Type Description
    System.Drawing.Drawing2D.GraphicsPath

    The circle port.

    RhombPort

    Gets the rhomb form port.

    Declaration
    public static GraphicsPath RhombPort { get; }
    Property Value
    Type Description
    System.Drawing.Drawing2D.GraphicsPath

    The rhomb port.

    SquarePort

    Gets the square form port.

    Declaration
    public static GraphicsPath SquarePort { get; }
    Property Value
    Type Description
    System.Drawing.Drawing2D.GraphicsPath

    The square port.

    TrianglePort

    Gets the triangle form port.

    Declaration
    public static GraphicsPath TrianglePort { get; }
    Property Value
    Type Description
    System.Drawing.Drawing2D.GraphicsPath

    The triangle port.

    XPort

    Gets the X marks the spot style port.

    Declaration
    public static GraphicsPath XPort { get; }
    Property Value
    Type Description
    System.Drawing.Drawing2D.GraphicsPath

    The X port.

    Methods

    GetGraphicsPath(PortVisualType, Single)

    Gets the graphics path from specified port style.

    Declaration
    public static GraphicsPath GetGraphicsPath(PortVisualType type, float scale)
    Parameters
    Type Name Description
    PortVisualType type

    The port style.

    System.Single scale

    The scale factor.

    Returns
    Type Description
    System.Drawing.Drawing2D.GraphicsPath

    The graphics path.

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