Class Bitmap2
Namespace: g3
Assembly: cs.temp.dll.dll
Syntax
Constructors
Bitmap2(Vector2i)
Declaration
public Bitmap2(Vector2i dims)
Parameters
Bitmap2(Int32, Int32)
Declaration
public Bitmap2(int Width, int Height)
Parameters
Fields
Bits
Declaration
Field Value
Type |
Description |
BitArray |
|
Properties
Dimensions
Declaration
public Vector2i Dimensions { get; }
Property Value
GridBounds
Declaration
public AxisAlignedBox2i GridBounds { get; }
Property Value
Item[Vector2i]
Declaration
public bool this[Vector2i idx] { get; set; }
Parameters
Property Value
Item[Int32]
Declaration
public bool this[int i] { get; set; }
Parameters
Type |
Name |
Description |
Int32 |
i |
|
Property Value
Item[Int32, Int32]
Declaration
public bool this[int r, int c] { get; set; }
Parameters
Property Value
Methods
Get(Vector2i)
Declaration
public bool Get(Vector2i idx)
Parameters
Returns
Indices()
Declaration
public IEnumerable<Vector2i> Indices()
Returns
NonZeros()
Declaration
public IEnumerable<Vector2i> NonZeros()
Returns
Resize(Vector2i)
Declaration
public void Resize(Vector2i dims)
Parameters
Set(Vector2i, Boolean)
Declaration
public void Set(Vector2i idx, bool val)
Parameters
ToIndex(Int32)
Declaration
public Vector2i ToIndex(int i)
Parameters
Type |
Name |
Description |
Int32 |
i |
|
Returns
ToLinear(Vector2i)
Declaration
public int ToLinear(Vector2i idx)
Parameters
Returns