Ejemplo n.º 1
0
 public BuilderTranslate(Translate translate)
 {
     x = new Dimension(translate.x.value, StyleSheetUtilities.ConvertToDimensionUnit(translate.x.unit));
     y = new Dimension(translate.y.value, StyleSheetUtilities.ConvertToDimensionUnit(translate.y.unit));
 }
Ejemplo n.º 2
0
 public BuilderTransformOrigin(TransformOrigin transformOrigin)
 {
     x = new Dimension(transformOrigin.x.value, StyleSheetUtilities.ConvertToDimensionUnit(transformOrigin.x.unit));
     y = new Dimension(transformOrigin.y.value, StyleSheetUtilities.ConvertToDimensionUnit(transformOrigin.y.unit));
 }
Ejemplo n.º 3
0
 public BuilderRotate(Rotate rotate)
 {
     x = new Dimension(rotate.angle.value, StyleSheetUtilities.ConvertToDimensionUnit(rotate.angle.unit));
 }