Class RadRect
Inheritance
System.Object
RadRect
Namespace: Com.Telerik.Android.Common.Math
Assembly: Telerik.Xamarin.Android.Common.dll
Syntax
public sealed class RadRect : Object
Constructors
RadRect()
Declaration
public RadRect()
RadRect(RadPoint, RadPoint)
Declaration
public RadRect(RadPoint point1, RadPoint point2)
Parameters
RadPoint
point1
|
RadPoint
point2
|
RadRect(Double, Double)
Declaration
public RadRect(double width, double height)
Parameters
System.Double
width
|
System.Double
height
|
RadRect(Double, Double, Double, Double)
Declaration
public RadRect(double x, double y, double width, double height)
Parameters
System.Double
x
|
System.Double
y
|
System.Double
width
|
System.Double
height
|
Properties
Bottom
Declaration
public double Bottom { get; }
Property Value
System.Double
|
Center
Empty
Height
Declaration
public double Height { get; }
Property Value
System.Double
|
IsSizeValid
Declaration
public bool IsSizeValid { get; }
Property Value
System.Boolean
|
JniPeerMembers
Declaration
public override JniPeerMembers JniPeerMembers { get; }
Property Value
Java.Interop.JniPeerMembers
|
Location
Right
Declaration
public double Right { get; }
Property Value
System.Double
|
ThresholdClass
Declaration
protected override IntPtr ThresholdClass { get; }
Property Value
System.IntPtr
|
ThresholdType
Declaration
protected override Type ThresholdType { get; }
Property Value
System.Type
|
Width
Declaration
public double Width { get; }
Property Value
System.Double
|
Methods
CenterRect(RadRect, RadRect)
Declaration
public static RadRect CenterRect(RadRect rect, RadRect bounds)
Parameters
RadRect
rect
|
RadRect
bounds
|
Returns
RadRect
|
Contains(RadRect)
Contains(Double, Double)
Declaration
public bool Contains(double x, double y)
Parameters
System.Double
x
|
System.Double
y
|
Returns
System.Boolean
|
GetX()
Declaration
public double GetX()
Returns
System.Double
|
GetY()
Declaration
public double GetY()
Returns
System.Double
|
Inflate(RadRect, RadThickness)
Declaration
public static RadRect Inflate(RadRect rect, RadThickness margins)
Parameters
RadRect
rect
|
RadThickness
margins
|
Returns
RadRect
|