Esempio 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));
 }
Esempio 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));
 }
 public BuilderRotate(Rotate rotate)
 {
     x = new Dimension(rotate.angle.value, StyleSheetUtilities.ConvertToDimensionUnit(rotate.angle.unit));
 }