PcoWSkbVqDnWTu_dm2ix
Collapse Sidebar

SliceCenter

ImageButton

Rect

The SliceCenter property determines the center of a nine-slice image when ImageButton/ScaleType is set to Enum/ScaleType/Slice.


Code Samples


Image ScaleType Demo

This code sample demonstrates the different ScaleType options - Stretch, Tile and Slice. It does this by resizing an ImageLabel/ImageButton in a circle.