public DirectImage(VisibleSurfaceBase surface, Rectangle bounds, Tilesheet bmp, TernaryRasterOperations rasterOp) : base(surface, bounds) { _tilesheet = bmp; _rasterOp = rasterOp; }
public DirectRectangle(VisibleSurfaceBase surface, Rectangle bounds, Color color, bool isFilled, int alpha) : base(surface, bounds) { _isExplicitAlphaBlended = true; _width = 1; _color = color; _alpha = alpha; _isFilled = true; }
public DirectRectangle(VisibleSurfaceBase surface, Rectangle bounds, Color color, bool isFilled) : base(surface, bounds) { _isExplicitAlphaBlended = false; _width = 1; _color = color; _alpha = color.A; _isFilled = isFilled; }
public DirectDrawing(VisibleSurfaceBase surface, Rectangle bounds) { _instances.Add(this); _surface = surface; _bounds = bounds; _zOrder = 0; _Name = Guid.NewGuid().ToString(); _drawSource = _surface.Buffer.DrawSource; ForceRefresh(); }
public VisibleSufaceBindEventArgs(VisibleSurfaceBase surface, GridPointMatrixes oldBind, GridPointMatrixes newBind) { Surface = surface; OldBindValue = oldBind; NewBindValue = newBind; }
public Text(VisibleSurfaceBase surface, string text, Font font, Rectangle bounds, Color foreColor, Color backColor, TextFormatFlags flags) : base(surface, bounds) { InstantiateNew(text, font, foreColor, backColor, flags); }