Пример #1
0
 /// <summary>
 /// Returns an exact copy of this style
 /// </summary>
 /// <returns></returns>
 public RasterizeStyleDefinition Copy()
 {
     return(new RasterizeStyleDefinition {
         SegmentWeight = SegmentWeight,
         SkewAngle = SkewAngle,
         BackgroundColor = new SKColor(BackgroundColor.Red, BackgroundColor.Green, BackgroundColor.Blue, BackgroundColor.Alpha),
         Foreground = Foreground.Copy(),
         InnerGlow = InnerGlow.Copy(),
         OuterGlow = OuterGlow.Copy(),
         Background = Background.Copy()
     });
 }