Table of Contents

Class Pixel2D

Namespace
AstraEngine.Canvas2D
Assembly
AstraEngine.Canvas2D.dll

Represents a Pixel that can be drawn in 2D space

public class Pixel2D : Drawable
Inheritance
Pixel2D
Inherited Members

Properties

Color

color getter and setter

public Color Color { get; set; }

Property Value

Color

Methods

Draw(ICanvas2D)

Draws this pixel using the specified renderer

public override void Draw(ICanvas2D renderer)

Parameters

renderer ICanvas2D