WIP
DirectOutput framework for virtual pinball cabinets WIP
Go to:
Overview 
Shape.cs
Go to the documentation of this file.
1 using System;
2 using System.Collections.Generic;
3 using System.Linq;
4 using System.Text;
7 
8 namespace DirectOutput.FX.MatrixFX.BitmapShapes
9 {
10  public class Shape : NamedItemBase
11  {
12 
13 
14  private int _BitmapFrameNumber = 0;
15 
22  public int BitmapFrameNumber
23  {
24  get { return _BitmapFrameNumber; }
25  set { _BitmapFrameNumber = value; }
26  }
27 
28  private int _BitmapTop = 0;
29 
36  public int BitmapTop
37  {
38  get { return _BitmapTop; }
39  set { _BitmapTop = value; }
40  }
41 
42  private int _BitmapLeft = 0;
43 
50  public int BitmapLeft
51  {
52  get { return _BitmapLeft; }
53  set { _BitmapLeft = value; }
54  }
55 
56  private int _BitmapWidth = -1;
57 
64  public int BitmapWidth
65  {
66  get { return _BitmapWidth; }
67  set { _BitmapWidth = value; }
68  }
69 
70  private int _BitmapHeight = -1;
71 
78  public int BitmapHeight
79  {
80  get { return _BitmapHeight; }
81  set { _BitmapHeight = value; }
82  }
83 
84 
85  private FastBitmapDataExtractModeEnum _DataExtractMode = FastBitmapDataExtractModeEnum.BlendPixels;
86 
93  public FastBitmapDataExtractModeEnum DataExtractMode
94  {
95  get { return _DataExtractMode; }
96  set { _DataExtractMode = value; }
97  }
98 
99 
100 
101 
102 
103 
104  }
105 }
Abstract base class for named items. Implements the name property and the necessary events...
FastBitmapDataExtractModeEnum
The enum defines how the pixels are extracted from the source image.
The namespace DirectOutput.General contains classes for general use.