Paletted

Overview

Location

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

Implements

 

constructor

 

constructor

 

Paletted()

 

init()

constructor (Slice<Byte>, int, Rectangle, Palette) Island

 

constructor(aPix: Slice<Byte>; aStride: int; aRect: Rectangle; aPalette: Palette)

 

Paletted(Slice<Byte> aPix, int aStride, Rectangle aRect, Palette aPalette)

 

init(_ aPix: Slice<Byte>, _ aStride: int, _ aRect: Rectangle, _ aPalette: Palette)

Parameters:

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

constructor (Slice<Byte>, Int64, Rectangle, Palette) .NET, .NET Standard 2.0

 

constructor(aPix: Slice<Byte>; aStride: Int64; aRect: Rectangle; aPalette: Palette)

 

Paletted(Slice<Byte> aPix, Int64 aStride, Rectangle aRect, Palette aPalette)

 

init(_ aPix: Slice<Byte>, _ aStride: Int64, _ aRect: Rectangle, _ aPalette: Palette)

Parameters:

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

constructor (Paletted)

 

constructor(value: Paletted)

 

Paletted(Paletted value)

 

init(_ value: Paletted)

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

Parameters:

  • x:
  • y:

At (Int64, Int64): Color .NET, .NET Standard 2.0

 

method At(x: Int64; y: Int64): Color

 

Color At(Int64 x, Int64 y)

 

func At(_ x: Int64, _ y: Int64) -> Color

 

func At(x Int64, y Int64) Color

Parameters:

  • x:
  • y:

Bounds

 

method Bounds: Rectangle

 

Rectangle Bounds()

 

func Bounds() -> Rectangle

 

func Bounds() 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

Parameters:

  • x:
  • y:

ColorModel

 

// .NET, .NET Standard 2.0
method ColorModel: Model
// Island
method ColorModel: Model

 

// .NET, .NET Standard 2.0
Model ColorModel()
// Island
Model ColorModel()

 

// .NET, .NET Standard 2.0
func ColorModel() -> Model
// Island
func ColorModel() -> Model

 

// .NET, .NET Standard 2.0
func ColorModel() Model
// Island
func ColorModel() Model

Opaque

 

method Opaque: bool

 

bool Opaque()

 

func Opaque() -> bool

 

func Opaque() bool

Palette

 

// .NET, .NET Standard 2.0
var Palette: Palette;
// Island
var Palette: Palette;

 

// .NET, .NET Standard 2.0
Palette Palette
// Island
Palette Palette

 

// .NET, .NET Standard 2.0
var Palette: Palette
// Island
var Palette: Palette

 

// .NET, .NET Standard 2.0
Palette Palette
// Island
Palette Palette

Pix

 

var Pix: Slice<Byte>;

 

Slice<Byte> Pix

 

var Pix: Slice<Byte>

 

Pix 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

Parameters:

  • x:
  • y:

Rect

 

var Rect: Rectangle;

 

Rectangle Rect

 

var Rect: Rectangle

 

Rect Rectangle

Set (int, int, Color) Island

 

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)

Parameters:

  • x:
  • y:
  • c:

Set (Int64, Int64, Color) .NET, .NET Standard 2.0

 

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

 

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

 

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

 

func Set(x Int64, y Int64, c 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)

 

func SetColorIndex(x int, y int, index uint8)

Parameters:

  • x:
  • y:
  • index:

Stride

 

var Stride: int;

 

int Stride

 

var Stride: int

 

Stride int

SubImage

 

method SubImage(r: Rectangle): Image

 

Image SubImage(Rectangle r)

 

func SubImage(_ r: Rectangle) -> Image

 

func SubImage(r Rectangle) Image

Parameters:

  • r:

 

Palette

 

// .NET, .NET Standard 2.0
var Palette: Palette;
// Island
var Palette: Palette;

 

// .NET, .NET Standard 2.0
Palette Palette
// Island
Palette Palette

 

// .NET, .NET Standard 2.0
var Palette: Palette
// Island
var Palette: Palette

 

// .NET, .NET Standard 2.0
Palette Palette
// Island
Palette Palette

Pix

 

var Pix: Slice<Byte>;

 

Slice<Byte> Pix

 

var Pix: Slice<Byte>

 

Pix Slice<Byte>

Rect

 

var Rect: Rectangle;

 

Rectangle Rect

 

var Rect: Rectangle

 

Rect Rectangle

Stride

 

var Stride: int;

 

int Stride

 

var Stride: int

 

Stride int

 

constructor

 

constructor

 

Paletted()

 

init()

constructor (Slice<Byte>, int, Rectangle, Palette) Island

 

constructor(aPix: Slice<Byte>; aStride: int; aRect: Rectangle; aPalette: Palette)

 

Paletted(Slice<Byte> aPix, int aStride, Rectangle aRect, Palette aPalette)

 

init(_ aPix: Slice<Byte>, _ aStride: int, _ aRect: Rectangle, _ aPalette: Palette)

Parameters:

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

constructor (Slice<Byte>, Int64, Rectangle, Palette) .NET, .NET Standard 2.0

 

constructor(aPix: Slice<Byte>; aStride: Int64; aRect: Rectangle; aPalette: Palette)

 

Paletted(Slice<Byte> aPix, Int64 aStride, Rectangle aRect, Palette aPalette)

 

init(_ aPix: Slice<Byte>, _ aStride: Int64, _ aRect: Rectangle, _ aPalette: Palette)

Parameters:

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

constructor (Paletted)

 

constructor(value: Paletted)

 

Paletted(Paletted value)

 

init(_ value: Paletted)

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

Parameters:

  • x:
  • y:

At (Int64, Int64): Color .NET, .NET Standard 2.0

 

method At(x: Int64; y: Int64): Color

 

Color At(Int64 x, Int64 y)

 

func At(_ x: Int64, _ y: Int64) -> Color

 

func At(x Int64, y Int64) Color

Parameters:

  • x:
  • y:

Bounds

 

method Bounds: Rectangle

 

Rectangle Bounds()

 

func Bounds() -> Rectangle

 

func Bounds() Rectangle

ColorModel

 

// .NET, .NET Standard 2.0
method ColorModel: Model
// Island
method ColorModel: Model

 

// .NET, .NET Standard 2.0
Model ColorModel()
// Island
Model ColorModel()

 

// .NET, .NET Standard 2.0
func ColorModel() -> Model
// Island
func ColorModel() -> Model

 

// .NET, .NET Standard 2.0
func ColorModel() Model
// Island
func ColorModel() Model

Set (int, int, Color) Island

 

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)

Parameters:

  • x:
  • y:
  • c:

Set (Int64, Int64, Color) .NET, .NET Standard 2.0

 

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

 

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

 

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

 

func Set(x Int64, y Int64, c Color)

Parameters:

  • x:
  • y:
  • c:

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

Parameters:

  • x:
  • y:

Opaque

 

method Opaque: bool

 

bool Opaque()

 

func Opaque() -> bool

 

func Opaque() bool

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

Parameters:

  • x:
  • y:

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)

 

func SetColorIndex(x int, y int, index uint8)

Parameters:

  • x:
  • y:
  • index:

SubImage

 

method SubImage(r: Rectangle): Image

 

Image SubImage(Rectangle r)

 

func SubImage(_ r: Rectangle) -> Image

 

func SubImage(r Rectangle) Image

Parameters:

  • r: