Back to Website
Show / Hide Table of Contents

Class RotatedRectangleF

Inheritance
System.Object
RotatedRectangleF
Inherited Members
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Aurigma.DesignAtoms.Model.Math
Assembly: Aurigma.DesignAtoms.Model.dll
Syntax
public class RotatedRectangleF

Constructors

RotatedRectangleF()

Declaration
public RotatedRectangleF()

RotatedRectangleF(RectangleF, Single)

Declaration
public RotatedRectangleF(RectangleF rect, float angle = 0F)
Parameters
Type Name Description
System.Drawing.RectangleF rect
System.Single angle

RotatedRectangleF(Single, Single, Single, Single, Single)

Declaration
public RotatedRectangleF(float centerX, float centerY, float width, float height, float angle = 0F)
Parameters
Type Name Description
System.Single centerX
System.Single centerY
System.Single width
System.Single height
System.Single angle

Properties

Angle

Declaration
public float Angle { get; set; }
Property Value
Type Description
System.Single

Bounds

Declaration
public RectangleF Bounds { get; }
Property Value
Type Description
System.Drawing.RectangleF

Center

Declaration
public PointF Center { get; set; }
Property Value
Type Description
PointF

CenterX

Declaration
public float CenterX { get; set; }
Property Value
Type Description
System.Single

CenterY

Declaration
public float CenterY { get; set; }
Property Value
Type Description
System.Single

Height

Declaration
public float Height { get; set; }
Property Value
Type Description
System.Single

IsEmpty

Declaration
public bool IsEmpty { get; }
Property Value
Type Description
System.Boolean

Location

Declaration
public PointF Location { get; set; }
Property Value
Type Description
PointF

Width

Declaration
public float Width { get; set; }
Property Value
Type Description
System.Single

Methods

AreEqual(RotatedRectangleF, RotatedRectangleF, Double)

Declaration
public static bool AreEqual(RotatedRectangleF rect1, RotatedRectangleF rect2, double tolerance = 0)
Parameters
Type Name Description
RotatedRectangleF rect1
RotatedRectangleF rect2
System.Double tolerance
Returns
Type Description
System.Boolean

Clone()

Declaration
public RotatedRectangleF Clone()
Returns
Type Description
RotatedRectangleF

Equals(Object)

Declaration
public override bool Equals(object obj)
Parameters
Type Name Description
System.Object obj
Returns
Type Description
System.Boolean
Overrides
System.Object.Equals(System.Object)

GetHashCode()

Declaration
public override int GetHashCode()
Returns
Type Description
System.Int32
Overrides
System.Object.GetHashCode()

IntersectsWith(RotatedRectangleF)

Declaration
public bool IntersectsWith(RotatedRectangleF rect)
Parameters
Type Name Description
RotatedRectangleF rect
Returns
Type Description
System.Boolean

Rotate(Double)

Declaration
public void Rotate(double angle)
Parameters
Type Name Description
System.Double angle

RotateAt(Double, PointF)

Declaration
public void RotateAt(double angle, PointF center = null)
Parameters
Type Name Description
System.Double angle
PointF center

Scale(Single, Single)

Declaration
public void Scale(float scaleX, float scaleY)
Parameters
Type Name Description
System.Single scaleX
System.Single scaleY

ToRectangleF()

Declaration
public RectangleF ToRectangleF()
Returns
Type Description
System.Drawing.RectangleF

ToString()

Declaration
public override string ToString()
Returns
Type Description
System.String
Overrides
System.Object.ToString()

Transform(Transform, PointF)

Declaration
public void Transform(Transform transform, PointF center = null)
Parameters
Type Name Description
Transform transform
PointF center

Translate(Single, Single)

Declaration
public void Translate(float translateX, float translateY)
Parameters
Type Name Description
System.Single translateX
System.Single translateY

Union(RotatedRectangleF, RotatedRectangleF)

Declaration
public static RotatedRectangleF Union(RotatedRectangleF a, RotatedRectangleF b)
Parameters
Type Name Description
RotatedRectangleF a
RotatedRectangleF b
Returns
Type Description
RotatedRectangleF

Extension Methods

RotatedRectangleFExtensionMethods.GetPath(RotatedRectangleF)
Was this page helpful?
Thanks for your feedback!
Back to top Copyright © 2001–2025 Aurigma, Inc. All rights reserved.
Loading...
    Thank for your vote
    Your opinion is important to us. To provide details, send feedback.
    Send feedback