Пример #1
0
 public WatermarkOptions LayoutWithFitBox(WatermarkFitBox fitBox, WatermarkConstraintMode fitMode,
                                          ConstraintGravity gravity)
 {
     FitBox  = fitBox;
     FitMode = fitMode;
     Gravity = gravity;
     return(this);
 }
Пример #2
0
 public WatermarkOptions LayoutWithMargins(WatermarkMargins margins, WatermarkConstraintMode fitMode,
                                           ConstraintGravity gravity)
 {
     FitBox  = margins;
     FitMode = fitMode;
     Gravity = gravity;
     return(this);
 }
Пример #3
0
 public WatermarkOptions WithGravity(ConstraintGravity gravity)
 {
     Gravity = gravity;
     return(this);
 }