public css_borders(css_borders val) { left = val.left; right = val.right; top = val.top; bottom = val.bottom; front = val.front; //:h3ml back = val.back; //:h3ml radius = val.radius; }
public css_length bottom_left_z; //:h3ml public css_border_radius(css_border_radius val) { top_left_x = val.top_left_x; top_left_y = val.top_left_y; top_left_z = val.top_left_z; //:h3ml top_right_x = val.top_right_x; top_right_y = val.top_right_y; top_right_z = val.top_right_z; //:h3ml bottom_left_x = val.bottom_left_x; bottom_left_y = val.bottom_left_y; bottom_left_z = val.bottom_left_z; //:h3ml bottom_right_x = val.bottom_right_x; bottom_right_y = val.bottom_right_y; bottom_right_z = val.bottom_right_z; //:h3ml }
public virtual void fill_rect(object hdc, position pos, web_color color, css_border_radius radius) { apply_clip((Graphics)hdc); fill_rect(hdc, pos.x, pos.y, pos.width, pos.height, color, radius); release_clip((Graphics)hdc); }
protected void fill_rect(Graphics hdc, int x, int y, int width, int height, web_color color, css_border_radius radius) { var brush = new SolidBrush(Color.FromArgb(color.alpha, color.red, color.green, color.blue)); hdc.FillRectangle(brush, x, y, width, height); }
protected void fill_rect(GameObject hdc, int x, int y, int width, int height, web_color color, css_border_radius radius) { }