Rectangle
Overview
Location
-
Reference:
- Go.dll .NET, .NET Standard 2.0
- Go.fx Island
- Namespace: go.image
- Platforms: .NET, .NET Standard 2.0, Island
constructor
constructor(aMin: Point; aMax: Point)
Rectangle(Point aMin, Point aMax)
init(_ aMin: Point, _ aMax: Point)
Sub New(aMin As Point, aMax As Point)
Parameters:
- aMin:
- aMax:
constructor(value: Rectangle)
Rectangle(Rectangle value)
Sub New(value As Rectangle)
Parameters:
- value:
Add
method Add(p: Point): Rectangle
func Add(_ p: Point) -> Rectangle
func Add(p Point) Rectangle
Function Add(p As Point) As Rectangle
Parameters:
- p:
At
method At(x: int; y: int): Color
func At(_ x: int, _ y: int) -> Color
func At(x int, y int) Color
Function At(x As int, y As int) As Color
Parameters:
- x:
- y:
Bounds
func Bounds() -> Rectangle
Function Bounds() As Rectangle
Canon
func Canon() -> Rectangle
Function Canon() As Rectangle
ColorModel
func ColorModel() -> Model
Function ColorModel() As Model
Dx
Dy
Empty
Eq
method Eq(s: Rectangle): bool
func Eq(_ s: Rectangle) -> bool
func Eq(s Rectangle) bool
Function Eq(s As Rectangle) As bool
Parameters:
- s:
In
method In(s: Rectangle): bool
func In(_ s: Rectangle) -> bool
func In(s Rectangle) bool
Function In(s As Rectangle) As bool
Parameters:
- s:
Inset
method Inset(n: int): Rectangle
func Inset(_ n: int) -> Rectangle
func Inset(n int) Rectangle
Function Inset(n As int) As Rectangle
Parameters:
- n:
Intersect
method Intersect(s: Rectangle): Rectangle
Rectangle Intersect(Rectangle s)
func Intersect(_ s: Rectangle) -> Rectangle
func Intersect(s Rectangle) Rectangle
Function Intersect(s As Rectangle) As Rectangle
Parameters:
- s:
Max
Min
Overlaps
method Overlaps(s: Rectangle): bool
bool Overlaps(Rectangle s)
func Overlaps(_ s: Rectangle) -> bool
func Overlaps(s Rectangle) bool
Function Overlaps(s As Rectangle) As bool
Parameters:
- s:
Size
String
Function String() As string
Sub
method Sub(p: Point): Rectangle
func Sub(_ p: Point) -> Rectangle
func Sub(p Point) Rectangle
Function Sub(p As Point) As Rectangle
Parameters:
- p:
Union
method Union(s: Rectangle): Rectangle
Rectangle Union(Rectangle s)
func Union(_ s: Rectangle) -> Rectangle
func Union(s Rectangle) Rectangle
Function Union(s As Rectangle) As Rectangle
Parameters:
- s:
constructor
constructor(aMin: Point; aMax: Point)
Rectangle(Point aMin, Point aMax)
init(_ aMin: Point, _ aMax: Point)
Sub New(aMin As Point, aMax As Point)
Parameters:
- aMin:
- aMax:
constructor(value: Rectangle)
Rectangle(Rectangle value)
Sub New(value As Rectangle)
Parameters:
- value:
Add
method Add(p: Point): Rectangle
func Add(_ p: Point) -> Rectangle
func Add(p Point) Rectangle
Function Add(p As Point) As Rectangle
Parameters:
- p:
At
method At(x: int; y: int): Color
func At(_ x: int, _ y: int) -> Color
func At(x int, y int) Color
Function At(x As int, y As int) As Color
Parameters:
- x:
- y:
Bounds
func Bounds() -> Rectangle
Function Bounds() As Rectangle
Canon
func Canon() -> Rectangle
Function Canon() As Rectangle
ColorModel
func ColorModel() -> Model
Function ColorModel() As Model
Dx
Dy
Empty
Eq
method Eq(s: Rectangle): bool
func Eq(_ s: Rectangle) -> bool
func Eq(s Rectangle) bool
Function Eq(s As Rectangle) As bool
Parameters:
- s:
In
method In(s: Rectangle): bool
func In(_ s: Rectangle) -> bool
func In(s Rectangle) bool
Function In(s As Rectangle) As bool
Parameters:
- s:
Inset
method Inset(n: int): Rectangle
func Inset(_ n: int) -> Rectangle
func Inset(n int) Rectangle
Function Inset(n As int) As Rectangle
Parameters:
- n:
Intersect
method Intersect(s: Rectangle): Rectangle
Rectangle Intersect(Rectangle s)
func Intersect(_ s: Rectangle) -> Rectangle
func Intersect(s Rectangle) Rectangle
Function Intersect(s As Rectangle) As Rectangle
Parameters:
- s:
Overlaps
method Overlaps(s: Rectangle): bool
bool Overlaps(Rectangle s)
func Overlaps(_ s: Rectangle) -> bool
func Overlaps(s Rectangle) bool
Function Overlaps(s As Rectangle) As bool
Parameters:
- s:
Size
String
Function String() As string
Sub
method Sub(p: Point): Rectangle
func Sub(_ p: Point) -> Rectangle
func Sub(p Point) Rectangle
Function Sub(p As Point) As Rectangle
Parameters:
- p:
Union
method Union(s: Rectangle): Rectangle
Rectangle Union(Rectangle s)
func Union(_ s: Rectangle) -> Rectangle
func Union(s Rectangle) Rectangle
Function Union(s As Rectangle) As Rectangle
Parameters:
- s: