Пример #1
0
        // TODO: Any new writeable properties added need to be copied in the Clone method.

        public void BlendStampImage(StampsLayer stampsLayer, double xOffset = 0, double yOffset = 0)
        {
            if (!Visible)
            {
                return;
            }
            stampsLayer.BlendStampImage(this, xOffset, yOffset);
        }
Пример #2
0
 public static void BlendStampImage(IGroup stampGroup, StampsLayer stampsLayer, double xOffset, double yOffset)
 {
     if (!stampGroup.Visible)
     {
         return;
     }
     foreach (IItemProperties stamp in stampGroup.Children)
     {
         if (stamp is IFloatingItem floatingItem)
         {
             floatingItem.BlendStampImage(stampsLayer, xOffset + stampGroup.X, yOffset + stampGroup.Y);
         }
     }
 }
Пример #3
0
 public override void BlendStampImage(StampsLayer stampsLayer, double xOffset = 0, double yOffset = 0)
 {
     GroupHelper.BlendStampImage(this, stampsLayer, xOffset, yOffset);
 }