Image#capInsets

ioscapInsets {top: number, left: number, bottom: number, right: number}

When the image is resized, the corners of the size specified by capInsets will stay a fixed size, but the center content and borders of the image will be stretched. This is useful for creating resizable rounded buttons, shadows, and other resizable assets. More info on Apple documentation

doc_React_Native
2016-06-23 04:24:06
Comments
Leave a Comment

Please login to continue.