Exemple #1
0
 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;
 }
Exemple #3
0
 public OpenXmlPoint WithLeft(OpenXmlUnit left)
 {
     return(new OpenXmlPoint(
                left,
                this.top
                ));
 }
Exemple #4
0
 public OpenXmlRect(OpenXmlUnit left, OpenXmlUnit top, OpenXmlUnit width, OpenXmlUnit height)
 {
     this.left   = left;
     this.top    = top;
     this.width  = width;
     this.height = height;
 }
Exemple #5
0
 public OpenXmlSize WithWidth(OpenXmlUnit width)
 {
     return(new OpenXmlSize(
                width,
                this.height
                ));
 }
Exemple #6
0
 public OpenXmlSize WithHeight(OpenXmlUnit height)
 {
     return(new OpenXmlSize(
                this.width,
                height
                ));
 }
Exemple #7
0
 public OpenXmlPoint Translate(OpenXmlUnit x, OpenXmlUnit y)
 {
     return(new OpenXmlPoint(
                this.left + x,
                this.top + y
                ));
 }
Exemple #8
0
 public OpenXmlRect AddMargin(OpenXmlUnit size)
 {
     return(new OpenXmlRect(
                this.left + size,
                this.top + size,
                this.width - size - size,
                this.height - size - size
                ));
 }
Exemple #9
0
 public OpenXmlRect Translate(OpenXmlUnit x, OpenXmlUnit y)
 {
     return(new OpenXmlRect(
                this.left + x,
                this.top + y,
                this.width,
                this.height
                ));
 }
Exemple #10
0
 public OpenXmlRect WithHeight(OpenXmlUnit height)
 {
     return(new OpenXmlRect(
                this.left,
                this.top,
                this.width,
                height
                ));
 }
Exemple #11
0
 public OpenXmlRect WithWidth(OpenXmlUnit width)
 {
     return(new OpenXmlRect(
                this.left,
                this.top,
                width,
                this.height
                ));
 }
Exemple #12
0
 public OpenXmlRect WithTop(OpenXmlUnit top)
 {
     return(new OpenXmlRect(
                this.left,
                top,
                this.width,
                this.height
                ));
 }
Exemple #13
0
 public OpenXmlRect WithLeft(OpenXmlUnit left)
 {
     return(new OpenXmlRect(
                left,
                this.top,
                this.width,
                this.height
                ));
 }
Exemple #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
                ));
 }
 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
                ));
 }
Exemple #19
0
 public OpenXmlSize(OpenXmlUnit width, OpenXmlUnit height)
 {
     this.width  = width;
     this.height = height;
 }
Exemple #20
0
 public OpenXmlPoint(OpenXmlUnit left, OpenXmlUnit top)
 {
     this.left = left;
     this.top  = top;
 }