public void MakeTransparent(ArgbColor color) { if (_bitmap != null) { _bitmap.MakeTransparent(color.ToGdiColor()); } }
public GdiHatchBrush(HatchStyle hatchStyle, ArgbColor foreColor, ArgbColor backColor) { _brush = new HatchBrush((System.Drawing.Drawing2D.HatchStyle)hatchStyle, foreColor.ToGdiColor(), backColor.ToGdiColor()); }
public GdiPen(ArgbColor color, float width) { _pen = new Pen(color.ToGdiColor(), width); }
public GdiSolidBrush(ArgbColor color) { _brush = new SolidBrush(color.ToGdiColor()); }
public GdiLinearGradientBrush(CanvasRectangleF rect, ArgbColor col1, ArgbColor col2, float angle) { _brush = new LinearGradientBrush(rect.ToGdiRectangleF(), col1.ToGdiColor(), col2.ToGdiColor(), angle); }