Ejemplo n.º 1
0
 /// <summary>
 /// Returns a copy of this style where all parameters are scaled by a
 /// given factor
 /// </summary>
 /// <param name="scaleFactor">Scale factor</param>
 /// <returns>A copy of this object with updated parameters</returns>
 public RasterizeStyle Scale(float scaleFactor)
 {
     return(new RasterizeStyle {
         Foreground = Foreground.Scale(scaleFactor),
         InnerGlow = InnerGlow.Scale(scaleFactor),
         OuterGlow = OuterGlow.Scale(scaleFactor),
         Background = Background.Scale(scaleFactor),
     });
 }