Nine-slice canvas images
Border Picture 9Cut into pieces, the corner is left intact, and only in the middle is extended, but if it is drawn after a single canvas and enlarged, it will not create a real line between the pieces.
- Category
- 2D drawing
Technical terms · 9-slice scaling (nine-patch) · CSS border-image · drawImage(src, sx, sy, sw, sh, dx, dy, dw, dh) · ResizeObserver