OK In progress...

This commit is contained in:
Kolan Sh 2018-01-19 18:15:51 +03:00
parent f60b3f474e
commit 5f39fa57b6
2 changed files with 21 additions and 0 deletions

View File

@ -27,6 +27,10 @@ namespace CairoChart {
/** /**
* Constructs a new ``Color``. * Constructs a new ``Color``.
* @param red red component.
* @param green green component.
* @param blue blue component.
* @param alpha alpha component.
*/ */
public Color (double red = 0.0, public Color (double red = 0.0,
double green = 0.0, double green = 0.0,

View File

@ -1,13 +1,27 @@
namespace CairoChart { namespace CairoChart {
/**
*
*/
public class Grid { public class Grid {
/*public enum GridType { /*public enum GridType {
PRICK_LINE = 0, // default PRICK_LINE = 0, // default
LINE LINE
}*/ }*/
/**
*
*/
public Color color = Color (0, 0, 0, 0.1); public Color color = Color (0, 0, 0, 0.1);
/**
*
*/
public Line.Style line_style = Line.Style (); public Line.Style line_style = Line.Style ();
/**
*
*/
public virtual Grid copy () { public virtual Grid copy () {
var grid = new Grid (); var grid = new Grid ();
grid.color = this.color; grid.color = this.color;
@ -15,6 +29,9 @@ namespace CairoChart {
return grid; return grid;
} }
/**
*
*/
public Grid () { public Grid () {
line_style.dashes = {2, 3}; line_style.dashes = {2, 3};
} }