Click or drag to resize

Location Class

Specifies the location of an object.
Inheritance Hierarchy

Namespace:  Easymap.AddIn.Common.Graphics
Assembly:  EasyMap.AddIn (in EasyMap.AddIn.dll) Version: 12.0.0.0
Syntax
public sealed class Location : BaseObject, 
	ICloneable, IComparable

The Location type exposes the following members.

Properties
  NameDescription
Public propertyAngleAtOrigin
Gets a value which determine the angle of a location.
Public propertyArea
Gets a value which determine the area of a location.
Public propertyBounds
Gets the bounds of a location.
Public propertyCorners
Gets an array of points which determines the corners of the location.
Public propertyStatic memberEmpty
Gets a new location object with uninitialized members.
Public propertyHeight
Gets the graphic height of a specified location.
Public propertyIsEmpty
Gets a value indicating whether this location is empty.
Public propertyIsNormalized
Gets a value indicating whether this location is normalized.
Public propertyIsRectangle
Gets a value indicating whether this location is an rectangle.
Public propertyIsValid
Gets a value indicating whether this location is valid.
Public propertyNormalized
Gets a normalized location.
Public propertyOrigin
Gets or sets the origin.
Public propertyPivot
Gets or sets a pivot of a location.
Public propertyWidth
Gets the graphic width of a specified location.
Top
Methods
  NameDescription
Public methodClone
Creates a new object that is a copy of the current instance.
Public methodCompareTo
Compares the current instance with another object of the same type.
Public methodContains
Returns true if the specified PointF is contained in the location.
Public methodFlip
Flip a location at a specified pivot.
Public methodGetCenter
Gets a PointF which determine the center of this location.
Public methodIsotropicFit
Shrink a rectangle to a specified rectangle.
Public methodIsotropicFitEnlarge
Enlarge a rectangle to a specified rectangle.
Public methodMirror
Mirror the current location.
Public methodNormalize
Normalize the current location.
Public methodScale(Single, Single)
Scale a location by specified x and y value.
Public methodScale(RectangleF, Single, Single)
Scale a rectangle by specified x and y value.
Public methodStretchIntoRect
Stretch current location into a specified rectangle.
Public methodTransform
Transform location by a specified matrix.
Public methodTransformPoint(PointF, Matrix)
Transforms a System.Drawing.PointF from a specified matrix.
Public methodTransformPoint(PointF, Matrix)
Transforms a Easymap.AddIn.Common.Graphics.Point from a specified matrix.
Public methodTransformRect
Transforms a Easymap.AddIn.Common.Graphics.RectangleF from a specified matrix.
Public methodTranslate
Translate a location by specified x and y value.
Public methodUnion
Creates the smallest possible location that can contain in the specified location that can form a union.
Top
See Also