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

 

Sub New()

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)

 

Sub New(aPix As Slice<Byte>, aStride As int, aRect As Rectangle, aPalette As 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)

 

Sub New(aPix As Slice<Byte>, aStride As Int64, aRect As Rectangle, aPalette As Palette)

Parameters:

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

constructor (Paletted)

 

constructor(value: Paletted)

 

Paletted(Paletted value)

 

init(_ value: Paletted)

 

Sub New(value As 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

 

Function At(x As int, y As int) As 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

 

Function At(x As Int64, y As Int64) As Color

Parameters:

  • x:
  • y:

Bounds

 

method Bounds: Rectangle

 

Rectangle Bounds()

 

func Bounds() -> Rectangle

 

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

 

// .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

 

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

Opaque

 

method Opaque: bool

 

bool Opaque()

 

func Opaque() -> bool

 

func Opaque() bool

 

Function Opaque() As 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

 

// .NET, .NET Standard 2.0
FIELD Palette() As Palette
// Island
FIELD Palette() As Palette

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

 

Sub Set(x As int, y As int, c As 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)

 

Sub Set(x As Int64, y As Int64, 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)

 

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

 

Sub SetColorIndex(x As int, y As int, index As uint8)

Parameters:

  • x:
  • y:
  • index:

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:

 

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

 

// .NET, .NET Standard 2.0
FIELD Palette() As Palette
// Island
FIELD Palette() As Palette

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

 

Paletted()

 

init()

 

Sub New()

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)

 

Sub New(aPix As Slice<Byte>, aStride As int, aRect As Rectangle, aPalette As 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)

 

Sub New(aPix As Slice<Byte>, aStride As Int64, aRect As Rectangle, aPalette As Palette)

Parameters:

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

constructor (Paletted)

 

constructor(value: Paletted)

 

Paletted(Paletted value)

 

init(_ value: Paletted)

 

Sub New(value As 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

 

Function At(x As int, y As int) As 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

 

Function At(x As Int64, y As Int64) As Color

Parameters:

  • x:
  • y:

Bounds

 

method Bounds: Rectangle

 

Rectangle Bounds()

 

func Bounds() -> Rectangle

 

func Bounds() Rectangle

 

Function Bounds() As 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

 

// .NET, .NET Standard 2.0
Function ColorModel() As Model
// Island
Function ColorModel() As 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)

 

Sub Set(x As int, y As int, c As 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)

 

Sub Set(x As Int64, y As Int64, c As 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

 

Function ColorIndexAt(x As int, y As int) As uint8

Parameters:

  • x:
  • y:

Opaque

 

method Opaque: bool

 

bool Opaque()

 

func Opaque() -> bool

 

func Opaque() bool

 

Function Opaque() As 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

 

Function PixOffset(x As int, y As int) As 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)

 

Sub SetColorIndex(x As int, y As int, index As 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

 

Function SubImage(r As Rectangle) As Image

Parameters:

  • r: