PcoWSkbVqDnWTu_dm2ix
Collapse Sidebar

SliceCenter

ImageLabel

Rect

The SliceCenter property determines the center of a nine-slice image when ImageLabel/ScaleType is set to Enum/ScaleType|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.