{"id":13529095,"url":"https://github.com/raeleus/TenPatch","last_synced_at":"2025-04-01T14:34:03.506Z","repository":{"id":34520236,"uuid":"179946509","full_name":"raeleus/TenPatch","owner":"raeleus","description":"An alternative to libGDX's 9patch implementation.","archived":false,"fork":false,"pushed_at":"2022-03-30T16:12:01.000Z","size":1658,"stargazers_count":47,"open_issues_count":1,"forks_count":5,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-11-02T15:36:32.110Z","etag":null,"topics":["libgdx"],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/raeleus.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGES.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-04-07T09:56:04.000Z","updated_at":"2024-09-20T02:03:03.000Z","dependencies_parsed_at":"2022-08-08T01:15:09.890Z","dependency_job_id":null,"html_url":"https://github.com/raeleus/TenPatch","commit_stats":null,"previous_names":[],"tags_count":15,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/raeleus%2FTenPatch","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/raeleus%2FTenPatch/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/raeleus%2FTenPatch/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/raeleus%2FTenPatch/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/raeleus","download_url":"https://codeload.github.com/raeleus/TenPatch/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246655595,"owners_count":20812662,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["libgdx"],"created_at":"2024-08-01T07:00:33.117Z","updated_at":"2025-04-01T14:33:58.481Z","avatar_url":"https://github.com/raeleus.png","language":"Java","funding_links":[],"categories":["Resources"],"sub_categories":["User Interface"],"readme":"# README #\n\n### TenPatch ###\n\nVersion 5.2.3\n\nThis project is an alternative to libGDX's 9patch implementation. It has the following features:\n\n* Multiple stretch regions as seen with Android's implementation.\n* An option for tiling stretch regions.\n* Tiling offsets to achieve the appearance of a moving background.\n* Tintable.\n* Gradients.\n* Animated images.\n* Can be shrunk to size 0 without the artificats as seen in libGDX's 9patch.\n* Loading via skin JSON.\n* An editor via [Skin Composer](https://github.com/raeleus/skin-composer).\n\n### How to Use ###\n\nAdd the following to your root build.gradle:\n\n```groovy\nallprojects {\n    ...\n    repositories {\n        ...\n        maven { url 'https://jitpack.io' }\n    }\n}\n```\n\nAdd the dependency to the core project:\n\n```groovy\nproject(\":core\") {\n    apply plugin: \"java\"\n\n\n    dependencies {\n        ...\n        compile 'com.github.raeleus.TenPatch:tenpatch:5.2.3'\n    }\n}\n```\n\nFor HTML5/GWT support, add the dependency to the html project:\n\n```groovy\nproject(\":html\") {\n    apply plugin: \"gwt\"\n    apply plugin: \"war\"\n\n\n    dependencies {\n        ...\n        compile 'com.github.raeleus.TenPatch:tenpatch:5.2.3:sources'\n    }\n}\n```\n\nAnd add the following line to the GdxDefinition.gwt.xml file in the HTML project:\n```xml\n\u003cinherits name=\"com.ray3k.tenpatch.tenpatch\"/\u003e\n```\n\n\nPlease see the examples in the [demo project](https://github.com/raeleus/TenPatch/tree/master/demo/src/com/ray3k/tenpatch/demo/desktop).\nTo create and edit your own Ten Patches, see the [documentation in Skin Composer](https://github.com/raeleus/skin-composer/wiki/Ten-Patches).\n\n### Contact ###\n\n* This project is maintained by Raymond \"Raeleus\" Buckley\n* http://ray3k.wordpress.com\n* raymond.ray3k (at) gmail.com\n\n### License ###\nMIT License\n\nCopyright (c) 2021 Raymond Buckley\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fraeleus%2FTenPatch","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fraeleus%2FTenPatch","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fraeleus%2FTenPatch/lists"}