Overview

Location

  • Reference:
    • Go.dll  .NET, .NET Standard 2.0
    • Go.fx  Island
  • Namespace: go.image
  • Platforms: .NET, .NET Standard 2.0, Island

constructor


// .NET, .NET Standard 2.0
constructor(aPix: Slice<Byte>; aStride: Int64; aRect: Rectangle; aPalette: Palette)
// Island
constructor(aPix: Slice<Byte>; aStride: int; aRect: Rectangle; aPalette: Palette)
// .NET, .NET Standard 2.0
Paletted(Slice<Byte> aPix, Int64 aStride, Rectangle aRect, Palette aPalette)
// Island
Paletted(Slice<Byte> aPix, int aStride, Rectangle aRect, Palette aPalette)
// .NET, .NET Standard 2.0
init(_ aPix: Slice<Byte>, _ aStride: Int64, _ aRect: Rectangle, _ aPalette: Palette)
// Island
init(_ aPix: Slice<Byte>, _ aStride: int, _ aRect: Rectangle, _ aPalette: Palette)
// .NET, .NET Standard 2.0
Sub New(aPix As Slice<Byte>, aStride As Int64, aRect As Rectangle, aPalette As Palette)
// Island
Sub New(aPix As Slice<Byte>, aStride As int, aRect As Rectangle, aPalette As Palette)

Parameters:

  • aPix:
  • aStride:
  • aRect:
  • aPalette:

constructor(value: Paletted)
Sub New(value As Paletted)

Parameters:

  • value:

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:

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 Island

func Bounds() -> Rectangle
Function Bounds() As Rectangle

ColorIndexAt

method ColorIndexAt(x: int; y: int): uint8
uint8 ColorIndexAt(int x, int y)
func ColorIndexAt(_ x: int, _ y: int) -> uint8
func ColorIndexAt(x int, y int) uint8
Function ColorIndexAt(x As int, y As int) As uint8

Parameters:

  • x:
  • y:

ColorModel Island

func ColorModel() -> Model
Function ColorModel() As Model

Opaque

Function Opaque() As bool

Palette

FIELD Palette() As Palette

Pix

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

FIELD Rect() As Rectangle

method Set(x: int; y: int; c: Color)
void Set(int x, int y, Color c)
func Set(_ x: int, _ y: int, _ c: Color)
func Set(x int, y int, c Color) void
Sub Set(x As int, y As int, c As Color)

Parameters:

  • x:
  • y:
  • c:

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:

SetColorIndex

method SetColorIndex(x: int; y: int; index: uint8)
void SetColorIndex(int x, int y, uint8 index)
func SetColorIndex(_ x: int, _ y: int, _ index: uint8)
// .NET, .NET Standard 2.0
func SetColorIndex(x int, y int, index uint8) 
// Island
func SetColorIndex(x int, y int, index uint8) void
Sub SetColorIndex(x As int, y As int, index As uint8)

Parameters:

  • x:
  • y:
  • index:

Stride


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:

Palette

FIELD Palette() As Palette

Pix

FIELD Pix() As Slice<Byte>

Rect

FIELD Rect() As Rectangle

Stride

constructor


// .NET, .NET Standard 2.0
constructor(aPix: Slice<Byte>; aStride: Int64; aRect: Rectangle; aPalette: Palette)
// Island
constructor(aPix: Slice<Byte>; aStride: int; aRect: Rectangle; aPalette: Palette)
// .NET, .NET Standard 2.0
Paletted(Slice<Byte> aPix, Int64 aStride, Rectangle aRect, Palette aPalette)
// Island
Paletted(Slice<Byte> aPix, int aStride, Rectangle aRect, Palette aPalette)
// .NET, .NET Standard 2.0
init(_ aPix: Slice<Byte>, _ aStride: Int64, _ aRect: Rectangle, _ aPalette: Palette)
// Island
init(_ aPix: Slice<Byte>, _ aStride: int, _ aRect: Rectangle, _ aPalette: Palette)
// .NET, .NET Standard 2.0
Sub New(aPix As Slice<Byte>, aStride As Int64, aRect As Rectangle, aPalette As Palette)
// Island
Sub New(aPix As Slice<Byte>, aStride As int, aRect As Rectangle, aPalette As Palette)

Parameters:

  • aPix:
  • aStride:
  • aRect:
  • aPalette:

constructor(value: Paletted)
Sub New(value As Paletted)

Parameters:

  • value:

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 Island

func Bounds() -> Rectangle
Function Bounds() As Rectangle

ColorModel Island

func ColorModel() -> Model
Function ColorModel() As Model

method Set(x: int; y: int; c: Color)
void Set(int x, int y, Color c)
func Set(_ x: int, _ y: int, _ c: Color)
func Set(x int, y int, c Color) void
Sub Set(x As int, y As int, c As Color)

Parameters:

  • x:
  • y:
  • c: