コード例 #1
0
 public ImageBorderMargin(ImageBorderMargin existingBorder, int width, int height, BorderCalculation calculation)
 {
     _width        = width + existingBorder.Width;
     _height       = height + existingBorder.Height;
     _calculations = new List <BorderCalculation>(existingBorder._calculations);
     _calculations.Add(calculation);
 }
コード例 #2
0
 public ImageBorderMargin(ImageBorderMargin existingBorder, int width, int height, BorderCalculation calculation)
 {
     _width = width + existingBorder.Width;
     _height = height + existingBorder.Height;
     _calculations = new List<BorderCalculation>(existingBorder._calculations);
     _calculations.Add(calculation);
 }