9 patch Exporter 安卓点九图切图
Visual nine-patch editor & Android ZIP exporter
Plugin Preview
About this plugin
IntroductionNinePatch Studio is a visual nine-patch (.9.png) editor built right inside Figma. Select any layer, define stretch and content regions interactively on a zoomable canvas, preview how the image scales with real content, then export a ready-to-use Android drawable ZIP in one click.Function DescriptionVisual canvas editor — Drag handles on all four edges of your asset to define stretch lines (top/left) and content padding lines (bottom/right). Only one unique line per edge is allowed, matching the nine-patch spec.Two edit modes — Switch between Stretch region and Content padding mode; each mode only allows editing its own sides to prevent mistakes.Live nine-patch preview — Resize the preview at any target width/height to instantly see how the image stretches. When content padding is set, editable preview text is rendered inside the content rect following real nine-patch rules.Auto-stretch — Automatically detect the opaque region of your asset and set sensible stretch defaults in one click.Zoom & pan canvas — Scroll to zoom, Cmd/Ctrl + scroll for precision zoom around cursor, drag to pan, or click View 100% to reset.Android-standard density export — Export all five Android density folders at once: mdpi (1×), hdpi (1.5×), xhdpi (2×), xxhdpi (3×), xxxhdpi (4×).One-click ZIP download — All density variants are packaged into a single ZIP with the correct drawable-*/name.9.png folder structure ready for direct import into Android Studio.Multi-language UI — Interface available in 21 languages with full RTL support.How to UseOpen the plugin in Figma and select any layer (frame, component, image, etc.).The asset loads automatically into the canvas editor.Choose Stretch region mode and drag the top and left border handles to define which pixels stretch.Switch to Content padding mode and drag the right and bottom border handles to define the content area.Use the Preview tab to set a target size and verify the stretch result. Edit the preview text to simulate content.In the Assets tab, choose which density tiers to export (all five are selected by default).Click Export .9.png — a ZIP file containing all selected densities is downloaded automatically.NotesOnly one stretch line and one content line per edge are supported, matching the Android nine-patch format.Stretch lines must be placed on the top/left edges; content padding lines must be on the right/bottom edges.The exported files are named
Plugin Details
| Version | 2 |
|---|---|
| Created | May 3, 2026 |
| Last Updated | May 3, 2026 |
| Category | Import & export plugins |
| Creator | KingweiCheung |
| Stats | 9 installs, 0 likes |
| Pricing | Paid |
Technical Details
- API:1.0.0
- UI:ui.html
- main:code.js
- Document Access:dynamic-page
- Editor Types:figma
- Allowed Domains:
- none
More Like This
Discover other plugins in the Import & export plugins category.
Free Compressed PDF and Image Exporter (PDF, PNG, JPG, WebP and SVG)
Export compressed PNG, PDF, JPG, SVG, WebP & merge multiple frames into one PDF—fast & easy! 🚀
Color Import / Export
Help design and dev teams stay in sync by providing import and export tools for color palettes
Export/Import Variables
Export variables from one file and import them to another. Supports modes, references, and scopes.