示例#1
0
 public void assignTo(background val)
 {
     attachment = val._attachment;
     baseurl    = val._baseurl;
     image      = val._image;
     repeat     = val._repeat;
     color      = val._color;
 }
示例#2
0
 public background_paint()
 {
     color      = new web_color(0, 0, 0, 0);
     position_x = 0;
     position_y = 0;
     position_z = 0; //:h3ml
     attachment = background_attachment.scroll;
     repeat     = background_repeat.repeat;
     is_root    = false;
 }
示例#3
0
 public background()
 {
     _attachment  = background_attachment.scroll;
     _repeat      = background_repeat.repeat;
     _clip        = background_box.border_box;
     _origin      = background_box.padding_box;
     _color.alpha = 0;
     _color.red   = 0;
     _color.green = 0;
     _color.blue  = 0;
 }
示例#4
0
 public background_paint(background_paint val)
 {
     image         = val.image;
     baseurl       = val.baseurl;
     attachment    = val.attachment;
     repeat        = val.repeat;
     color         = val.color;
     clip_box      = val.clip_box;
     origin_box    = val.origin_box;
     border_box    = val.border_box;
     border_radius = val.border_radius;
     image_size    = val.image_size;
     position_x    = val.position_x;
     position_y    = val.position_y;
     position_z    = val.position_z; //:h3ml
     is_root       = val.is_root;
 }