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

 

Rectangle()

 

init()

 

Sub New()

constructor (Rectangle) .NET, .NET Standard 2.0

 

constructor(value: Rectangle)

 

Rectangle(Rectangle value)

 

init(_ value: Rectangle)

 

Sub New(value As Rectangle)

Parameters:

  • value:

constructor (Point, Point)

 

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 (Rectangle) Island

 

constructor(value: Rectangle)

 

Rectangle(Rectangle value)

 

init(_ value: Rectangle)

 

Sub New(value As Rectangle)

Parameters:

  • value:

Add

 

method Add(p: Point): Rectangle

 

Rectangle Add(Point p)

 

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

 

Color At(int x, int y)

 

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

 

method Bounds: Rectangle

 

Rectangle Bounds()

 

func Bounds() -> Rectangle

 

func Bounds() Rectangle

 

Function Bounds() As Rectangle

Canon

 

method Canon: Rectangle

 

Rectangle Canon()

 

func Canon() -> Rectangle

 

func Canon() Rectangle

 

Function Canon() As Rectangle

ColorModel

 

method ColorModel: Model

 

Model ColorModel()

 

func ColorModel() -> Model

 

func ColorModel() Model

 

Function ColorModel() As Model

Dx

 

method Dx: int

 

int Dx()

 

func Dx() -> int

 

func Dx() int

 

Function Dx() As int

Dy

 

method Dy: int

 

int Dy()

 

func Dy() -> int

 

func Dy() int

 

Function Dy() As int

Empty

 

method Empty: bool

 

bool Empty()

 

func Empty() -> bool

 

func Empty() bool

 

Function Empty() As bool

Eq

 

method Eq(s: Rectangle): bool

 

bool Eq(Rectangle s)

 

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

 

bool In(Rectangle s)

 

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

 

Rectangle Inset(int n)

 

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

 

var Max: Point;

 

Point Max

 

var Max: Point

 

Max Point

 

FIELD Max() As Point

Min

 

var Min: Point;

 

Point Min

 

var Min: Point

 

Min Point

 

FIELD Min() As Point

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

 

method Size: Point

 

Point Size()

 

func Size() -> Point

 

func Size() Point

 

Function Size() As Point

String

 

method String: string

 

string String()

 

func String() -> string

 

func String() string

 

Function String() As string

Sub

 

method Sub(p: Point): Rectangle

 

Rectangle Sub(Point p)

 

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:

 

Max

 

var Max: Point;

 

Point Max

 

var Max: Point

 

Max Point

 

FIELD Max() As Point

Min

 

var Min: Point;

 

Point Min

 

var Min: Point

 

Min Point

 

FIELD Min() As Point

 

constructor

 

constructor

 

Rectangle()

 

init()

 

Sub New()

constructor (Rectangle) .NET, .NET Standard 2.0

 

constructor(value: Rectangle)

 

Rectangle(Rectangle value)

 

init(_ value: Rectangle)

 

Sub New(value As Rectangle)

Parameters:

  • value:

constructor (Point, Point)

 

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 (Rectangle) Island

 

constructor(value: Rectangle)

 

Rectangle(Rectangle value)

 

init(_ value: Rectangle)

 

Sub New(value As Rectangle)

Parameters:

  • value:

Add

 

method Add(p: Point): Rectangle

 

Rectangle Add(Point p)

 

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

 

Color At(int x, int y)

 

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

 

method Bounds: Rectangle

 

Rectangle Bounds()

 

func Bounds() -> Rectangle

 

func Bounds() Rectangle

 

Function Bounds() As Rectangle

Canon

 

method Canon: Rectangle

 

Rectangle Canon()

 

func Canon() -> Rectangle

 

func Canon() Rectangle

 

Function Canon() As Rectangle

ColorModel

 

method ColorModel: Model

 

Model ColorModel()

 

func ColorModel() -> Model

 

func ColorModel() Model

 

Function ColorModel() As Model

Dx

 

method Dx: int

 

int Dx()

 

func Dx() -> int

 

func Dx() int

 

Function Dx() As int

Dy

 

method Dy: int

 

int Dy()

 

func Dy() -> int

 

func Dy() int

 

Function Dy() As int

Empty

 

method Empty: bool

 

bool Empty()

 

func Empty() -> bool

 

func Empty() bool

 

Function Empty() As bool

Eq

 

method Eq(s: Rectangle): bool

 

bool Eq(Rectangle s)

 

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

 

bool In(Rectangle s)

 

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

 

Rectangle Inset(int n)

 

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

 

method Size: Point

 

Point Size()

 

func Size() -> Point

 

func Size() Point

 

Function Size() As Point

String

 

method String: string

 

string String()

 

func String() -> string

 

func String() string

 

Function String() As string

Sub

 

method Sub(p: Point): Rectangle

 

Rectangle Sub(Point p)

 

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: