If I have a Circle shape and I want to place an image in it, is there a way to mask the image within the Circle instead of fitting the entire image in it ? so the Circle just crops part of the photo and masks it and only shows the crop ?

Comments

  1. Is this what you mean?

    Circle1.BeginUpdate;
    try
    Circle1.Fill.Kind := TBrushKind.Bitmap;
    // or other desired WrapMode
    Circle1.Fill.Bitmap.WrapMode := TWrapMode.TileStretch;
    Circle1.Fill.Bitmap.Bitmap.Assign(Image1.Bitmap);
    finally
    Circle1.EndUpdate;
    end;


    https://plus.google.com/photos/...

    ReplyDelete
  2. I will try this out, but i was hoping for example do you see the moon in that photo you have, be able to load the entire photo but only have the moon fit in the circle

    ReplyDelete
  3. My solution is to place a circle shape component and use your image as its background.

    ReplyDelete

Post a Comment