Gray

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

 

Gray()

 

init()

 

Sub New()

constructor (Slice<Byte>, Int64, Rectangle)

 

// .NET, .NET Standard 2.0
constructor(aPix: Slice<Byte>; aStride: Int64; aRect: Rectangle)
// Island
constructor(aPix: Slice<Byte>; aStride: int; aRect: Rectangle)

 

// .NET, .NET Standard 2.0
Gray(Slice<Byte> aPix, Int64 aStride, Rectangle aRect)
// Island
Gray(Slice<Byte> aPix, int aStride, Rectangle aRect)

 

// .NET, .NET Standard 2.0
init(_ aPix: Slice<Byte>, _ aStride: Int64, _ aRect: Rectangle)
// Island
init(_ aPix: Slice<Byte>, _ aStride: int, _ aRect: Rectangle)

 

// .NET, .NET Standard 2.0
Sub New(aPix As Slice<Byte>, aStride As Int64, aRect As Rectangle)
// Island
Sub New(aPix As Slice<Byte>, aStride As int, aRect As Rectangle)

Parameters:

  • aPix:
  • aStride:
  • aRect:

constructor (Gray)

 

constructor(value: Gray)

 

Gray(Gray value)

 

init(_ value: Gray)

 

Sub New(value As Gray)

Parameters:

  • value:

At (int, int): Color Island

 

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:

At (int, int): Color

 

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 Island

 

method Bounds: Rectangle

 

Rectangle Bounds()

 

func Bounds() -> Rectangle

 

func Bounds() Rectangle

 

Function Bounds() As Rectangle

ColorModel Island

 

method ColorModel: Model

 

Model ColorModel()

 

func ColorModel() -> Model

 

func ColorModel() Model

 

Function ColorModel() As Model

GrayAt

 

method GrayAt(x: int; y: int): Gray

 

Gray GrayAt(int x, int y)

 

func GrayAt(_ x: int, _ y: int) -> Gray

 

func GrayAt(x int, y int) Gray

 

Function GrayAt(x As int, y As int) As Gray

Parameters:

  • x:
  • y:

Opaque

 

method Opaque: bool

 

bool Opaque()

 

func Opaque() -> bool

 

func Opaque() bool

 

Function Opaque() As bool

Pix

 

var Pix: Slice<Byte>;

 

Slice<Byte> Pix

 

var Pix: Slice<Byte>

 

Pix Slice<Byte>

 

FIELD Pix() As Slice<Byte>

PixOffset

 

method PixOffset(x: int; y: int): int

 

int PixOffset(int x, int y)

 

func PixOffset(_ x: int, _ y: int) -> int

 

func PixOffset(x int, y int) int

 

Function PixOffset(x As int, y As int) As int

Parameters:

  • x:
  • y:

Rect

 

var Rect: Rectangle;

 

Rectangle Rect

 

var Rect: Rectangle

 

Rect Rectangle

 

FIELD Rect() As Rectangle

Set

 

method Set(x: int; y: int; c: Color)

 

void Set(int x, int y, Color c)

 

func Set(_ x: int, _ y: int, _ c: Color)

 

// .NET, .NET Standard 2.0
func Set(x int, y int, c Color) 
// Island
func Set(x int, y int, c Color) void

 

Sub Set(x As int, y As int, c As Color)

Parameters:

  • x:
  • y:
  • c:

SetGray

 

method SetGray(x: int; y: int; c: Gray)

 

void SetGray(int x, int y, Gray c)

 

func SetGray(_ x: int, _ y: int, _ c: Gray)

 

// .NET, .NET Standard 2.0
func SetGray(x int, y int, c Gray) 
// Island
func SetGray(x int, y int, c Gray) void

 

Sub SetGray(x As int, y As int, c As Gray)

Parameters:

  • x:
  • y:
  • c:

Stride

 

var Stride: int;

 

int Stride

 

var Stride: int

 

Stride int

 

FIELD Stride() As int

SubImage

 

method SubImage(r: Rectangle): Image

 

Image SubImage(Rectangle r)

 

func SubImage(_ r: Rectangle) -> Image

 

func SubImage(r Rectangle) Image

 

Function SubImage(r As Rectangle) As Image

Parameters:

  • r:

 

Pix

 

var Pix: Slice<Byte>;

 

Slice<Byte> Pix

 

var Pix: Slice<Byte>

 

Pix Slice<Byte>

 

FIELD Pix() As Slice<Byte>

Rect

 

var Rect: Rectangle;

 

Rectangle Rect

 

var Rect: Rectangle

 

Rect Rectangle

 

FIELD Rect() As Rectangle

Stride

 

var Stride: int;

 

int Stride

 

var Stride: int

 

Stride int

 

FIELD Stride() As int

 

constructor

 

constructor

 

Gray()

 

init()

 

Sub New()

constructor (Slice<Byte>, Int64, Rectangle)

 

// .NET, .NET Standard 2.0
constructor(aPix: Slice<Byte>; aStride: Int64; aRect: Rectangle)
// Island
constructor(aPix: Slice<Byte>; aStride: int; aRect: Rectangle)

 

// .NET, .NET Standard 2.0
Gray(Slice<Byte> aPix, Int64 aStride, Rectangle aRect)
// Island
Gray(Slice<Byte> aPix, int aStride, Rectangle aRect)

 

// .NET, .NET Standard 2.0
init(_ aPix: Slice<Byte>, _ aStride: Int64, _ aRect: Rectangle)
// Island
init(_ aPix: Slice<Byte>, _ aStride: int, _ aRect: Rectangle)

 

// .NET, .NET Standard 2.0
Sub New(aPix As Slice<Byte>, aStride As Int64, aRect As Rectangle)
// Island
Sub New(aPix As Slice<Byte>, aStride As int, aRect As Rectangle)

Parameters:

  • aPix:
  • aStride:
  • aRect:

constructor (Gray)

 

constructor(value: Gray)

 

Gray(Gray value)

 

init(_ value: Gray)

 

Sub New(value As Gray)

Parameters:

  • value:

At (int, int): Color Island

 

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 Island

 

method Bounds: Rectangle

 

Rectangle Bounds()

 

func Bounds() -> Rectangle

 

func Bounds() Rectangle

 

Function Bounds() As Rectangle

ColorModel Island

 

method ColorModel: Model

 

Model ColorModel()

 

func ColorModel() -> Model

 

func ColorModel() Model

 

Function ColorModel() As Model