I want to create a Component that should have a CustomShape.
I will explain this in detail ,Suppose now we have a Button, Button will be having some Rectangular Shape, But in my Case i dont want this Rectangula Shape, I will be giving x and y positons Depending on that positon It has to form a Component.
Any Help is Greatly Appreciated.
Even if you use transparent images, you will still end up with a rectangular bounding box.
You can use programmatic drawing and get a shape that does not involve a rectangle:
If this post answers your question or helps, please mark it as such.