{"id":4434,"date":"2021-07-29T15:23:11","date_gmt":"2021-07-29T07:23:11","guid":{"rendered":"http:\/\/122.152.205.50\/wordpress\/?p=4434"},"modified":"2021-11-04T09:07:27","modified_gmt":"2021-11-04T01:07:27","slug":"drawable%e8%83%8c%e6%99%af%e7%bb%98%e5%88%b6","status":"publish","type":"post","link":"http:\/\/xinyiworld.top\/wordpress_it\/?p=4434","title":{"rendered":"Drawable(\u80cc\u666f\u7ed8\u5236)"},"content":{"rendered":"<p><a class=\"wp-editor-md-post-content-link\" href=\"https:\/\/www.jianshu.com\/p\/1fdd0a23fab5\">https:\/\/www.jianshu.com\/p\/1fdd0a23fab5<\/a><\/p>\n<div id=\"ez-toc-container\" class=\"ez-toc-v2_0_16 counter-hierarchy counter-decimal ez-toc-grey\">\n<div class=\"ez-toc-title-container\">\n<p class=\"ez-toc-title\">\u76ee\u5f55<\/p>\n<span class=\"ez-toc-title-toggle\"><a class=\"ez-toc-pull-right ez-toc-btn ez-toc-btn-xs ez-toc-btn-default ez-toc-toggle\" style=\"display: none;\"><i class=\"ez-toc-glyphicon ez-toc-icon-toggle\"><\/i><\/a><\/span><\/div>\n<nav><ul class=\"ez-toc-list ez-toc-list-level-1\"><li class=\"ez-toc-page-1 ez-toc-heading-level-4\"><a class=\"ez-toc-link ez-toc-heading-1\" href=\"http:\/\/xinyiworld.top\/wordpress_it\/?p=4434\/#%E4%B8%80%E3%80%81Drawable%E5%AE%98%E6%96%B9%E5%AE%9A%E4%B9%89\" title=\"\u4e00\u3001Drawable\u5b98\u65b9\u5b9a\u4e49\">\u4e00\u3001Drawable\u5b98\u65b9\u5b9a\u4e49<\/a><\/li><li class=\"ez-toc-page-1 ez-toc-heading-level-4\"><a class=\"ez-toc-link ez-toc-heading-2\" href=\"http:\/\/xinyiworld.top\/wordpress_it\/?p=4434\/#%E4%BA%8C%E3%80%81Drawable%E5%A6%82%E4%BD%95%E7%BB%98%E5%88%B6%E5%88%B0View%E4%B8%8A\" title=\"\u4e8c\u3001Drawable\u5982\u4f55\u7ed8\u5236\u5230View\u4e0a\">\u4e8c\u3001Drawable\u5982\u4f55\u7ed8\u5236\u5230View\u4e0a<\/a><\/li><li class=\"ez-toc-page-1 ez-toc-heading-level-4\"><a class=\"ez-toc-link ez-toc-heading-3\" href=\"http:\/\/xinyiworld.top\/wordpress_it\/?p=4434\/#%E4%B8%89%E3%80%81Drawable%E5%88%86%E7%B1%BB\" title=\"\u4e09\u3001Drawable\u5206\u7c7b\">\u4e09\u3001Drawable\u5206\u7c7b<\/a><ul class=\"ez-toc-list-level-5\"><li class=\"ez-toc-heading-level-5\"><a class=\"ez-toc-link ez-toc-heading-4\" href=\"http:\/\/xinyiworld.top\/wordpress_it\/?p=4434\/#1GradientDrawable\" title=\"1.GradientDrawable\">1.GradientDrawable<\/a><\/li><li class=\"ez-toc-page-1 ez-toc-heading-level-5\"><a class=\"ez-toc-link ez-toc-heading-5\" href=\"http:\/\/xinyiworld.top\/wordpress_it\/?p=4434\/#2BitmapDrawable\" title=\"2.BitmapDrawable\">2.BitmapDrawable<\/a><\/li><li class=\"ez-toc-page-1 ez-toc-heading-level-5\"><a class=\"ez-toc-link ez-toc-heading-6\" href=\"http:\/\/xinyiworld.top\/wordpress_it\/?p=4434\/#3LayerListDrawable\" title=\"3.LayerListDrawable\">3.LayerListDrawable<\/a><\/li><li class=\"ez-toc-page-1 ez-toc-heading-level-5\"><a class=\"ez-toc-link ez-toc-heading-7\" href=\"http:\/\/xinyiworld.top\/wordpress_it\/?p=4434\/#4StateListDrawable\" title=\"4.StateListDrawable\">4.StateListDrawable<\/a><\/li><li class=\"ez-toc-page-1 ez-toc-heading-level-5\"><a class=\"ez-toc-link ez-toc-heading-8\" href=\"http:\/\/xinyiworld.top\/wordpress_it\/?p=4434\/#5LevelListDrawable\" title=\"5.LevelListDrawable\">5.LevelListDrawable<\/a><\/li><li class=\"ez-toc-page-1 ez-toc-heading-level-5\"><a class=\"ez-toc-link ez-toc-heading-9\" href=\"http:\/\/xinyiworld.top\/wordpress_it\/?p=4434\/#6TransitionDrawable\" title=\"6.TransitionDrawable\">6.TransitionDrawable<\/a><\/li><li class=\"ez-toc-page-1 ez-toc-heading-level-5\"><a class=\"ez-toc-link ez-toc-heading-10\" href=\"http:\/\/xinyiworld.top\/wordpress_it\/?p=4434\/#7InsetDrawable\" title=\"7.InsetDrawable\">7.InsetDrawable<\/a><\/li><li class=\"ez-toc-page-1 ez-toc-heading-level-5\"><a class=\"ez-toc-link ez-toc-heading-11\" href=\"http:\/\/xinyiworld.top\/wordpress_it\/?p=4434\/#8ClipDrawable\" title=\"8.ClipDrawable\">8.ClipDrawable<\/a><\/li><li class=\"ez-toc-page-1 ez-toc-heading-level-5\"><a class=\"ez-toc-link ez-toc-heading-12\" href=\"http:\/\/xinyiworld.top\/wordpress_it\/?p=4434\/#8ScaleDrawable\" title=\"8.ScaleDrawable\">8.ScaleDrawable<\/a><\/li><\/ul><\/li><li class=\"ez-toc-page-1 ez-toc-heading-level-4\"><a class=\"ez-toc-link ez-toc-heading-13\" href=\"http:\/\/xinyiworld.top\/wordpress_it\/?p=4434\/#%E5%9B%9B%E3%80%81Drawable%E9%87%8D%E8%A6%81API\" title=\"\u56db\u3001Drawable\u91cd\u8981API\">\u56db\u3001Drawable\u91cd\u8981API<\/a><\/li><\/ul><\/nav><\/div>\n<h4><span class=\"ez-toc-section\" id=\"%E4%B8%80%E3%80%81Drawable%E5%AE%98%E6%96%B9%E5%AE%9A%E4%B9%89\"><\/span>\u4e00\u3001Drawable\u5b98\u65b9\u5b9a\u4e49<span class=\"ez-toc-section-end\"><\/span><\/h4>\n<p>Drawable \u662f \u201c\u6240\u6709\u53ef\u7ed8\u5236\u4e1c\u897f\u201d \u7684\u4e00\u4e2a\u62bd\u8c61\uff0c\u5927\u591a\u6570\u65f6\u5019\uff0c\u6211\u4eec\u53ea\u9700\u8981\u628a\u5404\u79cd\u4e0d\u540c\u7c7b\u578b\u7684\u8d44\u6e90\u4f5c\u4e3a\u8f6c\u5316\u4e3a drawable\uff0c\u7136\u540e View \u4f1a\u5e2e\u6211\u4eec\u628a\u5b83\u6e32\u67d3\u5230\u5c4f\u5e55\u4e0a\u3002Drawable \u7c7b\u63d0\u4f9b\u4e86\u4e00\u4e2a\u901a\u7528 API\uff0c\u7528\u4e8e\u89e3\u6790\u8f6c\u5316\u5404\u79cd\u53ef\u89c6\u8d44\u6e90\u5230 Canvas\uff0c\u8ddf View \u4e0d\u4e00\u6837\uff0cDrawable \u4e0d\u80fd\u63a5\u53d7\u4efb\u4f55\u4e8b\u4ef6\u4ee5\u53ca\u7528\u6237\u4ea4\u4e92\u3002<\/p>\n<h4><span class=\"ez-toc-section\" id=\"%E4%BA%8C%E3%80%81Drawable%E5%A6%82%E4%BD%95%E7%BB%98%E5%88%B6%E5%88%B0View%E4%B8%8A\"><\/span>\u4e8c\u3001Drawable\u5982\u4f55\u7ed8\u5236\u5230View\u4e0a<span class=\"ez-toc-section-end\"><\/span><\/h4>\n<p>View \u901a\u8fc7 setBackground \u65b9\u6cd5\u4e3a\u81ea\u5df1\u8bbe\u7f6e\u4e86\u4e00\u4e2a drawable \u5bf9\u8c61\u540e\uff0c\u800c drawable \u53c8\u6709\u4e00\u4e2a draw \u65b9\u6cd5\uff0c\u90a3\u4e48 View \u7ed8\u5236\u81ea\u5df1\u7684\u80cc\u666f\u65f6\uff0c\u76f4\u63a5\u8c03\u7528 drawable \u5bf9\u8c61\u7684\u7684 draw \u65b9\u6cd5\uff0c\u8fd9\u4e2a draw \u65b9\u6cd5\u9700\u8981\u4e00\u4e2a canvas \u5bf9\u8c61\uff0c\u8fd9\u91cc\u53ef\u76f4\u63a5\u628a View \u7684 Canvas \u5bf9\u8c61\u4f20\u9012\u8fc7\u53bb\uff0c\u90a3\u4e48 Drawable \u5c31\u53ef\u4ee5\u6210\u529f\u7684\u628a\u81ea\u5df1\u7684\u7ed8\u5236\u5185\u5bb9\u5e94\u7528\u5230 View \u4e4b\u4e0a\u3002<\/p>\n<h4><span class=\"ez-toc-section\" id=\"%E4%B8%89%E3%80%81Drawable%E5%88%86%E7%B1%BB\"><\/span>\u4e09\u3001Drawable\u5206\u7c7b<span class=\"ez-toc-section-end\"><\/span><\/h4>\n<p><a class=\"wp-editor-md-post-content-link\" href=\"https:\/\/www.jianshu.com\/p\/4cd87e3c43d6?winzoom\">https:\/\/www.jianshu.com\/p\/4cd87e3c43d6?winzoom<\/a><\/p>\n<p><a class=\"wp-editor-md-post-content-link\" href=\"https:\/\/www.cnblogs.com\/Jeely\/p\/11045042.html\">https:\/\/www.cnblogs.com\/Jeely\/p\/11045042.html <\/a>\uff08\u8be6\u7ec6\u7684\u6807\u7b7e\u5c5e\u6027\uff09<\/p>\n<h5><span class=\"ez-toc-section\" id=\"1GradientDrawable\"><\/span>1.GradientDrawable<span class=\"ez-toc-section-end\"><\/span><\/h5>\n<p>\u4e00\u4e2a\u521b\u5efa\u51e0\u4f55\u56fe\u5f62\u7684 Drawable\uff0c\u56fe\u5f62\u5305\u62ec\u76f4\u7ebf\uff08line\uff09, \u692d\u5706\uff08oval\uff09\uff0c\u5706\u5f62\uff08oval\uff0c\u5f53\u692d\u5706\u7684\u5bbd\u9ad8\u76f8\u7b49\u7684\u65f6\u5019\u5c31\u662f\u5706\u5f62\uff09\uff0c\u77e9\u5f62\uff08rectangle\uff09\uff0c\u5706\u73af\uff08ring\uff09\u3002<\/p>\n<p>\u5728 XML \u6587\u4ef6\u4e2d\u5bf9\u5e94\u7684\u6839\u8282\u70b9\u4e3a <code>&lt;Shape&gt;<\/code><\/p>\n<p>\u5b50\u7ed3\u70b9<br \/>\n- Stroke( \u63cf\u8fb9\uff0c\u5bf9\u5e94 Paint.STROKE )<br \/>\n- Solid \uff08\u586b\u5145\uff0c\u5bf9\u5e94 Paint.FILL\uff09<\/p>\n<p>\u7ed8\u5236\u539f\u7406\uff1a<br \/>\n\u5229\u7528Canvas.drawCircle()\u3001Canvas.drawRect() \u7b49\u7b49\u65b9\u6cd5<\/p>\n<h5><span class=\"ez-toc-section\" id=\"2BitmapDrawable\"><\/span>2.BitmapDrawable<span class=\"ez-toc-section-end\"><\/span><\/h5>\n<p>\u7528\u4e8e\u56fe\u7247\u7684\u5e73\u94fa( tileMode )\u663e\u793a<\/p>\n<p>\u5728 XML \u6587\u4ef6\u4e2d\u5bf9\u5e94\u7684\u6839\u8282\u70b9\u4e3a <code>&lt;bitmap&gt;<\/code><\/p>\n<p><strong>tileMode<\/strong><br \/>\n- disable\uff1a\u4e0d\u89e3\u91ca\uff0c\u9ed8\u8ba4\u4e0d\u5e73\u94fa<br \/>\n- clamp\uff1a\u5f53\u4f4d\u56fe\u5c0f\u4e8e\u5b9e\u9645\u663e\u793a\u533a\u57df\u7684\u65f6\u5019\uff0c\u8fb9\u7f18\u7684\u989c\u8272\u62c9\u4f38<br \/>\n- repeat\uff1a\u5f53\u4f4d\u56fe\u5c0f\u4e8e\u5b9e\u9645\u663e\u793a\u533a\u57df\u7684\u65f6\u5019\uff0c\u6c34\u5e73\u548c\u5782\u76f4\u65b9\u5411\uff0c\u91cd\u590d\u663e\u793a\u56fe\u7247<br \/>\n- mirror\uff1a\u5f53\u4f4d\u56fe\u5c0f\u4e8e\u5b9e\u9645\u663e\u793a\u533a\u57df\u7684\u65f6\u5019\uff0c\u6c34\u5e73\u548c\u5782\u76f4\u65b9\u5411\uff0c\u4ee5\u955c\u50cf\u7684\u65b9\u5f0f\uff08\u6216\u8005\u8bf4\u5bf9\u79f0\u7684\u65b9\u5f0f\uff09\u91cd\u590d\u663e\u793a\u56fe\u7247<\/p>\n<h5><span class=\"ez-toc-section\" id=\"3LayerListDrawable\"><\/span>3.LayerListDrawable<span class=\"ez-toc-section-end\"><\/span><\/h5>\n<p>\u56fe\u5c42\u5217\u8868\uff0c\u53e0\u52a0\u591a\u4e2adrawable\uff08\u53ef\u4ee5\u662f\u4e0d\u540c\u7c7b\u578b\u7684drawable\uff09<br \/>\n\u5728 XML \u6587\u4ef6\u4e2d\u5bf9\u5e94\u7684\u6839\u8282\u70b9\u4e3a <code>&lt;layer-list&gt;<\/code><\/p>\n<p><strong>\u6ce8\u610f\u4e8b\u9879\uff1a<\/strong><br \/>\n- \u6211\u4eec\u7528 <item> \u63a7\u5236\u663e\u793a\u7684\u5927\u5c0f\u548c\u4f4d\u7f6e\uff0c\u800c\u7528<item> \u7684\u5b50\u8282\u70b9\u63a7\u5236\u663e\u793a\u533a\u57df\uff0c\u5982 <bitmap>\uff0c<shape>\uff0c<nine-path> \u7b49\u7b49 Drawable<br \/>\n- \u4e0d\u7528<item>\u663e\u793a\u56fe\u7247\u56e0\u4e3a\u56fe\u7247\u4f1a\u6839\u636e\u663e\u793a\u533a\u57df\u7f29\u653e\uff0c\u5982\u679c\u6211\u4eec\u5c06\u56fe\u7247\u653e\u5728\u5b50\u8282\u70b9\u4e2d\uff0c\u4f8b\u5982 <bitmap>\uff0c\u5c31\u7b97\u56fe\u7247\u5c0f\u4e8e\u663e\u793a\u533a\u57df\u4e5f\u4e0d\u4f1a\u653e\u5927\u3002<\/p>\n<h5><span class=\"ez-toc-section\" id=\"4StateListDrawable\"><\/span>4.StateListDrawable<span class=\"ez-toc-section-end\"><\/span><\/h5>\n<p>\u72b6\u6001\u5217\u8868\uff0c\u6839\u636e\u72b6\u6001\u6765\u663e\u793a\u56fe\u7247\u3002<br \/>\n\u5728 XML \u6587\u4ef6\u4e2d\u5bf9\u5e94\u7684\u6839\u8282\u70b9\u4e3a <code>&lt;selector&gt;<\/code><\/p>\n<h5><span class=\"ez-toc-section\" id=\"5LevelListDrawable\"><\/span>5.LevelListDrawable<span class=\"ez-toc-section-end\"><\/span><\/h5>\n<p>\u7b49\u7ea7\u5217\u8868\uff0c\u6839\u636e\u7b49\u7ea7\u6765\u663e\u793a\u56fe\u7247\u3002<br \/>\n\u5728 XML \u6587\u4ef6\u4e2d\u5bf9\u5e94\u7684\u6839\u8282\u70b9\u4e3a <code>&lt;level-list&gt;<\/code><\/p>\n<h5><span class=\"ez-toc-section\" id=\"6TransitionDrawable\"><\/span>6.TransitionDrawable<span class=\"ez-toc-section-end\"><\/span><\/h5>\n<p>\u5728\u4e24\u4e2a\u56fe\u50cf\u4e4b\u95f4\uff0c\u901a\u8fc7\u6539\u53d8 alpha \u6765\u4ea4\u66ff\u663e\u793a\u3002<br \/>\n\u5728 XML \u6587\u4ef6\u4e2d\u5bf9\u5e94\u7684\u6839\u8282\u70b9\u4e3a <code>&lt;transition&gt;<\/code><\/p>\n<h5><span class=\"ez-toc-section\" id=\"7InsetDrawable\"><\/span>7.InsetDrawable<span class=\"ez-toc-section-end\"><\/span><\/h5>\n<p>\u63d2\u5165\u5f0f\u7684 Drawable\uff0c\u81ea\u5e26padding\u7684drawable\u3002<br \/>\n\u5728 XML \u6587\u4ef6\u4e2d\u5bf9\u5e94\u7684\u6839\u8282\u70b9\u4e3a <code>&lt;inset&gt;<\/code><\/p>\n<h5><span class=\"ez-toc-section\" id=\"8ClipDrawable\"><\/span>8.ClipDrawable<span class=\"ez-toc-section-end\"><\/span><\/h5>\n<p>\u53ef\u88c1\u526a\u7684 Drawable<br \/>\n\u5728 XML \u6587\u4ef6\u4e2d\u5bf9\u5e94\u7684\u6839\u8282\u70b9\u4e3a <code>&lt;clip&gt;<\/code><\/p>\n<p>\u901a\u8fc7setLevel\u8bbe\u7f6e\u622a\u53d6\u7684\u533a\u57df\u5927\u5c0f\uff0c\u53d6\u503c0~10000.<\/p>\n<h5><span class=\"ez-toc-section\" id=\"8ScaleDrawable\"><\/span>8.ScaleDrawable<span class=\"ez-toc-section-end\"><\/span><\/h5>\n<p>\u53ef\u7f29\u653e\u7684 Drawable<br \/>\n\u5728 XML \u6587\u4ef6\u4e2d\u5bf9\u5e94\u7684\u6839\u8282\u70b9\u4e3a <code>&lt;scale&gt;<\/code><br \/>\n\u9700\u8981\u6307\u5b9a\u4e09\u4e2a\u5c5e\u6027\u624d\u80fd\u6b63\u5e38\u7f29\u653e<\/p>\n<pre data-language=XML><code class=\"language-markup line-numbers\">android:scaleGravity=\"center_vertical|center_horizontal\"\nandroid:scaleHeight=\"50%\"\nandroid:scaleWidth=\"50%\"\n<\/code><\/pre>\n<p>\u901a\u8fc7setLevel\u8bbe\u7f6e\u622a\u53d6\u7684\u533a\u57df\u5927\u5c0f\uff0c\u53d6\u503c0~10000.<\/p>\n<h4><span class=\"ez-toc-section\" id=\"%E5%9B%9B%E3%80%81Drawable%E9%87%8D%E8%A6%81API\"><\/span>\u56db\u3001Drawable\u91cd\u8981API<span class=\"ez-toc-section-end\"><\/span><\/h4>\n<ul>\n<li>setBounds<br \/>\n<a class=\"wp-editor-md-post-content-link\" href=\"https:\/\/blog.csdn.net\/daimengs\/article\/details\/80410288\">https:\/\/blog.csdn.net\/daimengs\/article\/details\/80410288<\/a><\/li>\n<\/ul>\n<p>bounds\u56db\u4e2a\u53c2\u6570\uff1a<br \/>\n<img src=\"http:\/\/122.152.205.50\/wordpress\/wp-content\/custom_pictures\/drawable_bounds.png\" alt=\"\" \/><br \/>\n- draw(@NonNull Canvas canvas)<br \/>\ndrawable\u5c06\u81ea\u5df1\u7ed8\u5236\u5230canvas\u4e0a\uff0c\u53ef\u4ee5\u770b\u5404\u79cdXXXDrawable\u7684\u6e90\u7801\u4f1a\u53d1\u73b0\uff0cdraw\u65b9\u6cd5\u662f\u901a\u8fc7Paint\u5728cavas\u4e0a\u201c\u4f5c\u753b\u201d\u7684\u3002<\/p>\n<ul>\n<li>getIntrinsicWidth()<br \/>\ngetIntrinsicWidth() \u662f\u539f\u6709\u5bbd\u5ea6\uff0c\u6709\u65f6\u5019\u539f\u6709\u5bbd\u5ea6\u53ef\u80fd\u5f88\u5927\uff0c\u4f46\u662f\u5b9e\u9645\u4e0a\u7a7a\u95f4\u4e0d\u591f\uff0c\u6240\u6709\u6548\u679c\u4e0a\u5e76\u6ca1\u6709\u90a3\u4e48\u5927\uff0c\u8fd9\u4e2a\u65b9\u6cd5\u53ef\u4ee5\u83b7\u5f97\u539f\u6709\u5bbd\u5ea6\uff0c\u53ef\u4ee5\u8f85\u52a9\u6d4b\u91cf\u7684\u65f6\u5019\u9009\u62e9\u5408\u9002\u7684\u5c55\u793a\u5bbd\u5ea6\u3002<\/li>\n<\/ul>\n<button class=\"simplefavorite-button\" data-postid=\"4434\" data-siteid=\"1\" data-groupid=\"1\" data-favoritecount=\"0\" style=\"\">\u6536\u85cf <i class=\"sf-icon-star-empty\"><\/i><\/button>","protected":false},"excerpt":{"rendered":"<p>https:\/\/www.jianshu.com\/p\/1fdd0a23fab5 \u76ee\u5f55 \u4e00\u3001Drawab [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[320],"tags":[],"_links":{"self":[{"href":"http:\/\/xinyiworld.top\/wordpress_it\/index.php?rest_route=\/wp\/v2\/posts\/4434"}],"collection":[{"href":"http:\/\/xinyiworld.top\/wordpress_it\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/xinyiworld.top\/wordpress_it\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/xinyiworld.top\/wordpress_it\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/xinyiworld.top\/wordpress_it\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=4434"}],"version-history":[{"count":11,"href":"http:\/\/xinyiworld.top\/wordpress_it\/index.php?rest_route=\/wp\/v2\/posts\/4434\/revisions"}],"predecessor-version":[{"id":4483,"href":"http:\/\/xinyiworld.top\/wordpress_it\/index.php?rest_route=\/wp\/v2\/posts\/4434\/revisions\/4483"}],"wp:attachment":[{"href":"http:\/\/xinyiworld.top\/wordpress_it\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=4434"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/xinyiworld.top\/wordpress_it\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=4434"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/xinyiworld.top\/wordpress_it\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=4434"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}