Ejemplo n.º 1
0
 public OpenXmlPoint WithTop(OpenXmlUnit top)
 {
     return(new OpenXmlPoint(
                this.left,
                top
                ));
 }
Ejemplo n.º 2
0
 public OpenXmlMargin(OpenXmlUnit left, OpenXmlUnit top, OpenXmlUnit right, OpenXmlUnit bottom)
 {
     this.left   = left;
     this.top    = top;
     this.right  = right;
     this.bottom = bottom;
 }
Ejemplo n.º 3
0
 public OpenXmlPoint WithLeft(OpenXmlUnit left)
 {
     return(new OpenXmlPoint(
                left,
                this.top
                ));
 }
Ejemplo n.º 4
0
 public OpenXmlRect(OpenXmlUnit left, OpenXmlUnit top, OpenXmlUnit width, OpenXmlUnit height)
 {
     this.left   = left;
     this.top    = top;
     this.width  = width;
     this.height = height;
 }
Ejemplo n.º 5
0
 public OpenXmlSize WithWidth(OpenXmlUnit width)
 {
     return(new OpenXmlSize(
                width,
                this.height
                ));
 }
Ejemplo n.º 6
0
 public OpenXmlSize WithHeight(OpenXmlUnit height)
 {
     return(new OpenXmlSize(
                this.width,
                height
                ));
 }
Ejemplo n.º 7
0
 public OpenXmlPoint Translate(OpenXmlUnit x, OpenXmlUnit y)
 {
     return(new OpenXmlPoint(
                this.left + x,
                this.top + y
                ));
 }
Ejemplo n.º 8
0
 public OpenXmlRect AddMargin(OpenXmlUnit size)
 {
     return(new OpenXmlRect(
                this.left + size,
                this.top + size,
                this.width - size - size,
                this.height - size - size
                ));
 }
Ejemplo n.º 9
0
 public OpenXmlRect Translate(OpenXmlUnit x, OpenXmlUnit y)
 {
     return(new OpenXmlRect(
                this.left + x,
                this.top + y,
                this.width,
                this.height
                ));
 }
Ejemplo n.º 10
0
 public OpenXmlRect WithHeight(OpenXmlUnit height)
 {
     return(new OpenXmlRect(
                this.left,
                this.top,
                this.width,
                height
                ));
 }
Ejemplo n.º 11
0
 public OpenXmlRect WithWidth(OpenXmlUnit width)
 {
     return(new OpenXmlRect(
                this.left,
                this.top,
                width,
                this.height
                ));
 }
Ejemplo n.º 12
0
 public OpenXmlRect WithTop(OpenXmlUnit top)
 {
     return(new OpenXmlRect(
                this.left,
                top,
                this.width,
                this.height
                ));
 }
Ejemplo n.º 13
0
 public OpenXmlRect WithLeft(OpenXmlUnit left)
 {
     return(new OpenXmlRect(
                left,
                this.top,
                this.width,
                this.height
                ));
 }
Ejemplo n.º 14
0
 public OpenXmlRect AddMargin(OpenXmlUnit left, OpenXmlUnit top)
 {
     return(new OpenXmlRect(
                this.left + left,
                this.top + top,
                this.width - left - left,
                this.height - top - top
                ));
 }
Ejemplo n.º 15
0
 public OpenXmlMargin WithBottom(OpenXmlUnit bottom)
 {
     return(new OpenXmlMargin(
                this.left,
                this.top,
                this.right,
                bottom
                ));
 }
Ejemplo n.º 16
0
 public OpenXmlMargin WithRight(OpenXmlUnit right)
 {
     return(new OpenXmlMargin(
                this.left,
                this.top,
                right,
                this.bottom
                ));
 }
Ejemplo n.º 17
0
 public OpenXmlMargin WithLeft(OpenXmlUnit left)
 {
     return(new OpenXmlMargin(
                left,
                this.top,
                this.right,
                this.bottom
                ));
 }
Ejemplo n.º 18
0
 public OpenXmlMargin WithTop(OpenXmlUnit top)
 {
     return(new OpenXmlMargin(
                this.left,
                top,
                this.right,
                this.bottom
                ));
 }
Ejemplo n.º 19
0
 public OpenXmlSize(OpenXmlUnit width, OpenXmlUnit height)
 {
     this.width  = width;
     this.height = height;
 }
Ejemplo n.º 20
0
 public OpenXmlPoint(OpenXmlUnit left, OpenXmlUnit top)
 {
     this.left = left;
     this.top  = top;
 }