skip navigation
  • Product Bundles

    DevCraft

    All Telerik .NET tools and Kendo UI JavaScript components in one package. Now enhanced with:

    • AI Coding Assistants
    • Embedded Reporting
    • Document Processing Libraries
    • SSO Account Sign-in

    Web

    Kendo UI UI for Angular UI for Vue UI for jQuery KendoReact UI for Blazor UI for ASP.NET Core UI for ASP.NET MVC UI for ASP.NET AJAX

    Mobile

    UI for .NET MAUI

    Document Management

    Telerik Document Processing

    Desktop

    UI for .NET MAUI UI for WinUI UI for WinForms UI for WPF

    Reporting

    Telerik Reporting Telerik Report Server

    Testing & Mocking

    Test Studio Telerik JustMock

    CMS

    Sitefinity

    AI Productivity Tools

    AI Coding Assistants

    UI/UX Tools

    ThemeBuilder Design System Kit Templates and Building Blocks

    Debugging

    Fiddler Fiddler Everywhere Fiddler Classic Fiddler Everywhere Reporter FiddlerCore

    Free Tools

    KendoReact Free VB.NET to C# Converter Testing Framework
    View all products
  • Overview
  • Demos
    • What's New
    • Roadmap
    • Release History
  • Support and Learning

    • Support and Learning Hub
    • First Steps
    • Docs
    • Demos
    • Virtual Classroom
    • Forums
    • Videos
    • Blogs
    • Accessibility
    • Submit a Ticket

    Productivity and Design Tools

    • Visual Studio Extensions
    • Visual Studio Templates
    • Embedded Reporting
  • Pricing
  • Shopping cart
    • Account Overview
    • Your Licenses
    • Downloads
    • Support Center
    • Forum Profile
    • Payment Methods
    • Edit Profile
    • Log out
  • Login
  • Contact Us
  • Try now

Class ShapePointBase

Represents a base class of the ShapePoint class.

Inheritance
System.Object
ShapePointBase
ShapePoint
Namespace: Telerik.WinControls.OldShapeEditor
Assembly: Telerik.WinControls.dll

Syntax

public class ShapePointBase : Component

Constructors

ShapePointBase()

Initializes a new instance of the ShapePointbase class.

Declaration
public ShapePointBase()

ShapePointBase(Point)

Initializes a new instance of the ShapePoint class using a Point structure.

Declaration
public ShapePointBase(Point point)
Parameters
System.Drawing.Point point

ShapePointBase(Single, Single)

Initializes a new instance of the ShapePoint class using X and Y coordinates.

Declaration
public ShapePointBase(float x, float y)
Parameters
System.Single x

System.Single y

ShapePointBase(ShapePointBase)

Initializes a new instance of the ShapePoint class using an instance of the ShapePointBase class.

Declaration
public ShapePointBase(ShapePointBase point)
Parameters
ShapePointBase point

Fields

modified

Declaration
protected bool modified
Field Value
System.Boolean

Properties

Anchor

Gets or sets a value indicating the anchor style.

Declaration
public AnchorStyles Anchor { get; set; }
Property Value
System.Windows.Forms.AnchorStyles

IsModified

Declaration
public bool IsModified { get; set; }
Property Value
System.Boolean

Locked

Gets or sets a boolean value indicating whether the shape point is locked.

Declaration
public bool Locked { get; set; }
Property Value
System.Boolean

Point

Declaration
public PointF Point { get; set; }
Property Value
System.Drawing.PointF

X

Gets or sets a float value indicating the X coordinate of the shape point.

Declaration
public float X { get; set; }
Property Value
System.Single

Y

Gets or sets a float value indicating the Y coordinate of the shape point.

Declaration
public float Y { get; set; }
Property Value
System.Single

Methods

GetBounds(Int32)

Declaration
public Rectangle GetBounds(int weight)
Parameters
System.Int32 weight

Returns
System.Drawing.Rectangle

GetPoint()

Retrieves a Point structure corresponding to the point position.

Declaration
public Point GetPoint()
Returns
System.Drawing.Point

GetPoint(Rectangle)

Declaration
public Point GetPoint(Rectangle bounds)
Parameters
System.Drawing.Rectangle bounds

Returns
System.Drawing.Point

GetPoint(Rectangle, Rectangle)

Declaration
public Point GetPoint(Rectangle src, Rectangle dst)
Parameters
System.Drawing.Rectangle src

System.Drawing.Rectangle dst

Returns
System.Drawing.Point

IsVisible(Int32, Int32, Int32)

Declaration
public bool IsVisible(int x, int y, int width)
Parameters
System.Int32 x

System.Int32 y

System.Int32 width

Returns
System.Boolean

Set(Point)

Sets the point position from a Point structure.

Declaration
public void Set(Point point)
Parameters
System.Drawing.Point point

Set(Single, Single)

Sets the X and Y coordinates of the shape point.

Declaration
public void Set(float x, float y)
Parameters
System.Single x

System.Single y

ToString()

Retrieves a string representation of the ShapePointBase class.

Declaration
public override string ToString()
Returns
System.String

Extension Methods

SvgExtentions.Traverse<T>(T, Func<T, IEnumerable<T>>)
SvgExtentions.TraverseDepthFirst<T>(T, Func<T, IEnumerable<T>>)
Getting Started
  • Install Now
  • Demos
  • Step-by-Step Tutorial
  • Sample Applications
  • SDK Samples
  • Visual Studio Extensions
Support Resources
  • Code Library
  • Knowledge Base
  • Videos
Community
  • Forums
  • Blogs
  • Feedback Portal
  • Document Processing Feedback Portal

Copyright © 2018 Progress Software Corporation and/or its subsidiaries or affiliates.
All Rights Reserved.

Progress, Telerik, and certain product names used herein are trademarks or registered trademarks of Progress Software Corporation and/or one of its subsidiaries or affiliates in the U.S. and/or other countries. See Trademarks for appropriate markings.