Class Animation.BitmapToBraille
Renders an image as unicode Braille.
Inheritance
System.Object
Animation.BitmapToBraille
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: UICatalog.Scenarios
Assembly: UICatalog.dll
Syntax
public class BitmapToBraille
Constructors
| Improve this Doc View SourceBitmapToBraille(Int32, Int32, Func<Int32, Int32, Boolean>)
Declaration
public BitmapToBraille(int widthPixels, int heightPixels, Func<int, int, bool> pixelIsLit)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | widthPixels | |
System.Int32 | heightPixels | |
System.Func<System.Int32, System.Int32, System.Boolean> | pixelIsLit |
Fields
| Improve this Doc View SourceCHAR_HEIGHT
Declaration
public const int CHAR_HEIGHT = 4
Field Value
Type | Description |
---|---|
System.Int32 |
CHAR_WIDTH
Declaration
public const int CHAR_WIDTH = 2
Field Value
Type | Description |
---|---|
System.Int32 |
Properties
| Improve this Doc View SourceHeightPixels
Declaration
public int HeightPixels { get; }
Property Value
Type | Description |
---|---|
System.Int32 |
PixelIsLit
Declaration
public Func<int, int, bool> PixelIsLit { get; }
Property Value
Type | Description |
---|---|
System.Func<System.Int32, System.Int32, System.Boolean> |
WidthPixels
Declaration
public int WidthPixels { get; }
Property Value
Type | Description |
---|---|
System.Int32 |
Methods
| Improve this Doc View SourceGenerateImage()
Declaration
public string GenerateImage()
Returns
Type | Description |
---|---|
System.String |