IOrientationTransform
Namespace: TagBites.WinSchedulers.Drawing
Assembly: TagBites.WinSchedulers.dll
Product: TagBites.WinSchedulers v. 1.3.8
Provides a mechanism for orientation transform.
public interface IOrientationTransformMethods
Section titled “Methods”GetBottom(Rect)
Section titled “GetBottom(Rect)”Returns the y-axis value of the bottom of the rectangle.
public virtual double GetBottom(Rect rect)Parameters
Section titled “Parameters”Returns
Section titled “Returns”The y-axis value of the bottom of the rectangle. If the rectangle is empty, the value is Double.NegativeInfinity.
GetHeight(Rect)
Section titled “GetHeight(Rect)”Returns the height of the rectangle.
public virtual double GetHeight(Rect rect)Parameters
Section titled “Parameters”Returns
Section titled “Returns”A positive number that represents the height of the rectangle. The default is 0.
GetHeight(Size)
Section titled “GetHeight(Size)”Returns the vertical component of Size structure.
public virtual double GetHeight(Size size)Parameters
Section titled “Parameters”Returns
Section titled “Returns”The vertical component of Size structure, typically measured in pixels..
GetLeft(Rect)
Section titled “GetLeft(Rect)”Returns the position of the top-left corner of the rectangle.
public virtual double GetLeft(Rect rect)Parameters
Section titled “Parameters”Returns
Section titled “Returns”The position of the top-left corner of the rectangle.
GetRight(Rect)
Section titled “GetRight(Rect)”Returns the x-axis value of the right side of the rectangle.
public virtual double GetRight(Rect rect)Parameters
Section titled “Parameters”Returns
Section titled “Returns”The x-axis value of the right side of the rectangle.
GetTop(Rect)
Section titled “GetTop(Rect)”Returns the y-axis position of the top of the rectangle.
public virtual double GetTop(Rect rect)Parameters
Section titled “Parameters”Returns
Section titled “Returns”The y-axis position of the top of the rectangle
GetWidth(Rect)
Section titled “GetWidth(Rect)”Returns the width of the rectangle.
public virtual double GetWidth(Rect rect)Parameters
Section titled “Parameters”Returns
Section titled “Returns”A positive number that represents the width of the rectangle. The default is 0.
GetWidth(Size)
Section titled “GetWidth(Size)”Returns the horizontal component of Size structure.
public virtual double GetWidth(Size size)Parameters
Section titled “Parameters”Returns
Section titled “Returns”The horizontal component of Size structure, typically measured in pixels.
GetX(Point)
Section titled “GetX(Point)”Returns the x-coordinate of the point.
public virtual double GetX(Point point)Parameters
Section titled “Parameters”Returns
Section titled “Returns”The x-coordinate of the point
GetX(Rect)
Section titled “GetX(Rect)”Returns the x-axis value of the left side of the rectangle.
public virtual double GetX(Rect rect)Parameters
Section titled “Parameters”Returns
Section titled “Returns”The x-coordinate of the rectangle
GetY(Point)
Section titled “GetY(Point)”Returns the y-coordinate of the point.
public virtual double GetY(Point point)Parameters
Section titled “Parameters”Returns
Section titled “Returns”The y-coordinate of the point
GetY(Rect)
Section titled “GetY(Rect)”Returns the y-axis value of the top side of the rectangle.
public virtual double GetY(Rect rect)Parameters
Section titled “Parameters”Returns
Section titled “Returns”The y-coordinate of the rectangle
ToPoint(double, double)
Section titled “ToPoint(double, double)”Converts the specified coordinates to a Point structure.
public virtual Point ToPoint(double x, double y)Parameters
Section titled “Parameters”Returns
Section titled “Returns”The Point that results from the conversion.
ToRect(double, double, double, double)
Section titled “ToRect(double, double, double, double)”Converts the specified coordinates to a Rect structure.
public virtual Rect ToRect(double x, double y, double width, double height)Parameters
Section titled “Parameters”xdouble
The x-coordinate of the top-left corner of the rectangle.ydouble
The y-coordinate of the top-left corner of the rectangle.widthdouble
The width of the rectangle.heightdouble
The height of the rectangle.
Returns
Section titled “Returns”The Rect that results from the conversion.
Transform(Point)
Section titled “Transform(Point)”Returns a transformed point.
public virtual Point Transform(Point point)Parameters
Section titled “Parameters”Returns
Section titled “Returns”Point object representation of transformed point.
Transform(Rect)
Section titled “Transform(Rect)”Returns a transformed rectangle.
public virtual Rect Transform(Rect rect)Parameters
Section titled “Parameters”Returns
Section titled “Returns”Rect object representation of rectangle.