C# Class PixelFarm.Agg.RectD

Exibir arquivo Open project: prepare/HTML-Renderer Class Usage Examples

Public Properties

Property Type Description
Left double
ZeroIntersection RectD

Public Methods

Method Description
Contains ( RectD innerRect ) : bool
Contains ( System.Vector2 position ) : bool
Contains ( double x, double y ) : bool
Equals ( RectD other, double epsilon ) : bool
Equals ( object obj ) : bool
ExpandToInclude ( RectD rectToInclude ) : void
ExpandToInclude ( double x, double y ) : void
GetHashCode ( ) : int
Inflate ( double inflateSize ) : void
IntersectRectangles ( RectD rectToCopy, RectD rectToIntersectWith ) : bool
IntersectWithRectangle ( RectD rectToIntersectWith ) : bool
Offset ( System.Vector2 offset ) : void
Offset ( double x, double y ) : void
RectD ( RectInt intRect ) : System
RectD ( double left, double bottom, double right, double top ) : System
SetRect ( double left, double bottom, double right, double top ) : void
ToString ( ) : string
clip ( RectD r ) : bool
init ( double left, double bottom, double right, double top ) : void
is_valid ( ) : bool
normalize ( ) : RectD
operator ( ) : RectD
operator ( ) : bool
unite_rectangles ( RectD r1, RectD r2 ) : void

Method Details

Contains() public method

public Contains ( RectD innerRect ) : bool
innerRect RectD
return bool

Contains() public method

public Contains ( System.Vector2 position ) : bool
position System.Vector2
return bool

Contains() public method

public Contains ( double x, double y ) : bool
x double
y double
return bool

Equals() public method

public Equals ( RectD other, double epsilon ) : bool
other RectD
epsilon double
return bool

Equals() public method

public Equals ( object obj ) : bool
obj object
return bool

ExpandToInclude() public method

public ExpandToInclude ( RectD rectToInclude ) : void
rectToInclude RectD
return void

ExpandToInclude() public method

public ExpandToInclude ( double x, double y ) : void
x double
y double
return void

GetHashCode() public method

public GetHashCode ( ) : int
return int

Inflate() public method

public Inflate ( double inflateSize ) : void
inflateSize double
return void

IntersectRectangles() public method

public IntersectRectangles ( RectD rectToCopy, RectD rectToIntersectWith ) : bool
rectToCopy RectD
rectToIntersectWith RectD
return bool

IntersectWithRectangle() public method

public IntersectWithRectangle ( RectD rectToIntersectWith ) : bool
rectToIntersectWith RectD
return bool

Offset() public method

public Offset ( System.Vector2 offset ) : void
offset System.Vector2
return void

Offset() public method

public Offset ( double x, double y ) : void
x double
y double
return void

RectD() public method

public RectD ( RectInt intRect ) : System
intRect RectInt
return System

RectD() public method

public RectD ( double left, double bottom, double right, double top ) : System
left double
bottom double
right double
top double
return System

SetRect() public method

public SetRect ( double left, double bottom, double right, double top ) : void
left double
bottom double
right double
top double
return void

ToString() public method

public ToString ( ) : string
return string

clip() public method

public clip ( RectD r ) : bool
r RectD
return bool

init() public method

public init ( double left, double bottom, double right, double top ) : void
left double
bottom double
right double
top double
return void

is_valid() public method

public is_valid ( ) : bool
return bool

normalize() public method

public normalize ( ) : RectD
return RectD

operator() static public method

static public operator ( ) : RectD
return RectD

operator() public static method

public static operator ( ) : bool
return bool

unite_rectangles() public method

public unite_rectangles ( RectD r1, RectD r2 ) : void
r1 RectD
r2 RectD
return void

Property Details

Left public_oe property

public double Left
return double

ZeroIntersection public_oe static_oe property

public static RectD,PixelFarm.Agg ZeroIntersection
return RectD