public HatchBrush(HatchStyle hatchStyle, Color foreColor, Color backColor) { this.hatchStyle = hatchStyle; this.foreCol = foreColor; this.backCol = backColor; base.native = LibIGraph.CreateBrush_Hatch(hatchStyle, foreCol.ToArgb(), backCol.ToArgb()); }
public LinearGradientBrush(PointF point1, PointF point2, Color col1, Color col2) { base.native = LibIGraph.CreateBrush_LinearGradient ((int)point1.X, (int)point1.Y, (int)point2.X, (int)point2.Y, col1.ToArgb(), col2.ToArgb()); }