public OpenXmlPoint WithTop(OpenXmlUnit top) { return(new OpenXmlPoint( this.left, top )); }
public OpenXmlMargin(OpenXmlUnit left, OpenXmlUnit top, OpenXmlUnit right, OpenXmlUnit bottom) { this.left = left; this.top = top; this.right = right; this.bottom = bottom; }
public OpenXmlPoint WithLeft(OpenXmlUnit left) { return(new OpenXmlPoint( left, this.top )); }
public OpenXmlRect(OpenXmlUnit left, OpenXmlUnit top, OpenXmlUnit width, OpenXmlUnit height) { this.left = left; this.top = top; this.width = width; this.height = height; }
public OpenXmlSize WithWidth(OpenXmlUnit width) { return(new OpenXmlSize( width, this.height )); }
public OpenXmlSize WithHeight(OpenXmlUnit height) { return(new OpenXmlSize( this.width, height )); }
public OpenXmlPoint Translate(OpenXmlUnit x, OpenXmlUnit y) { return(new OpenXmlPoint( this.left + x, this.top + y )); }
public OpenXmlRect AddMargin(OpenXmlUnit size) { return(new OpenXmlRect( this.left + size, this.top + size, this.width - size - size, this.height - size - size )); }
public OpenXmlRect Translate(OpenXmlUnit x, OpenXmlUnit y) { return(new OpenXmlRect( this.left + x, this.top + y, this.width, this.height )); }
public OpenXmlRect WithHeight(OpenXmlUnit height) { return(new OpenXmlRect( this.left, this.top, this.width, height )); }
public OpenXmlRect WithWidth(OpenXmlUnit width) { return(new OpenXmlRect( this.left, this.top, width, this.height )); }
public OpenXmlRect WithTop(OpenXmlUnit top) { return(new OpenXmlRect( this.left, top, this.width, this.height )); }
public OpenXmlRect WithLeft(OpenXmlUnit left) { return(new OpenXmlRect( left, this.top, this.width, this.height )); }
public OpenXmlRect AddMargin(OpenXmlUnit left, OpenXmlUnit top) { return(new OpenXmlRect( this.left + left, this.top + top, this.width - left - left, this.height - top - top )); }
public OpenXmlMargin WithBottom(OpenXmlUnit bottom) { return(new OpenXmlMargin( this.left, this.top, this.right, bottom )); }
public OpenXmlMargin WithRight(OpenXmlUnit right) { return(new OpenXmlMargin( this.left, this.top, right, this.bottom )); }
public OpenXmlMargin WithLeft(OpenXmlUnit left) { return(new OpenXmlMargin( left, this.top, this.right, this.bottom )); }
public OpenXmlMargin WithTop(OpenXmlUnit top) { return(new OpenXmlMargin( this.left, top, this.right, this.bottom )); }
public OpenXmlSize(OpenXmlUnit width, OpenXmlUnit height) { this.width = width; this.height = height; }
public OpenXmlPoint(OpenXmlUnit left, OpenXmlUnit top) { this.left = left; this.top = top; }