cocos-enhance-kit/assets/js/d84a8e9d.65c07417.js

1 line
5.7 KiB
JavaScript
Raw Normal View History

"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[8092],{3905:function(e,t,n){n.d(t,{Zo:function(){return s},kt:function(){return f}});var r=n(67294);function i(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function a(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function o(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?a(Object(n),!0).forEach((function(t){i(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):a(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function c(e,t){if(null==e)return{};var n,r,i=function(e,t){if(null==e)return{};var n,r,i={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}var u=r.createContext({}),l=function(e){var t=r.useContext(u),n=t;return e&&(n="function"==typeof e?e(t):o(o({},t),e)),n},s=function(e){var t=l(e.components);return r.createElement(u.Provider,{value:t},e.children)},p={inlineCode:"code",wrapper:function(e){var t=e.children;return r.createElement(r.Fragment,{},t)}},d=r.forwardRef((function(e,t){var n=e.components,i=e.mdxType,a=e.originalType,u=e.parentName,s=c(e,["components","mdxType","originalType","parentName"]),d=l(n),f=i,m=d["".concat(u,".").concat(f)]||d[f]||p[f]||a;return n?r.createElement(m,o(o({ref:t},s),{},{components:n})):r.createElement(m,o({ref:t},s))}));function f(e,t){var n=arguments,i=t&&t.mdxType;if("string"==typeof e||i){var a=n.length,o=new Array(a);o[0]=d;var c={};for(var u in t)hasOwnProperty.call(t,u)&&(c[u]=t[u]);c.originalType=e,c.mdxType="string"==typeof e?e:i,o[1]=c;for(var l=2;l<a;l++)o[l]=n[l];return r.createElement.apply(null,o)}return r.createElement.apply(null,n)}d.displayName="MDXCreateElement"},60051:function(e,t,n){n.r(t),n.d(t,{assets:function(){return s},contentTitle:function(){return u},default:function(){return f},frontMatter:function(){return c},metadata:function(){return l},toc:function(){return p}});var r=n(87462),i=n(63366),a=(n(67294),n(3905)),o=["components"],c={sidebar_position:2,description:"\u4e00\u884c\u4ee3\u7801\u5f00\u542f\u9ad8\u6e05\u6587\u672c\u6e32\u67d3\u3002"},u="\u9ad8 DPI \u652f\u6301",l={unversionedId:"user-guide/text-render/text-high-dpi",id:"version-3.0.0/user-guide/text-render/text-high-dpi",title:"\u9ad8 DPI \u652f\u6301",description:"\u4e00\u884c\u4ee3\u7801\u5f00\u542f\u9ad8\u6e05\u6587\u672c\u6e32\u67d3\u3002",source:"@site/versioned_docs/version-3.0.0/user-guide/text-render/text-high-dpi.md",sourceDirName:"user-guide/text-render",slug:"/user-guide/text-render/text-high-dpi",permalink:"/cocos-enhance-kit/docs/user-guide/text-render/text-high-dpi",draft:!1,tags:[],version:"3.0.0",sidebarPosition:2,frontMatter:{sidebar_position:2,description:"\u4e00\u884c\u4ee3\u7801\u5f00\u542f\u9ad8\u6e05\u6587\u672c\u6e32\u67d3\u3002"},sidebar:"tutorialSidebar",previous:{title:"Char \u7f13\u5b58\u6a21\u5f0f",permalink:"/cocos-enhance-kit/docs/user-guide/text-render/text-char-mode"},next:{title:"RichText \u81ea\u5b9a\u4e49\u6750\u8d28",permalink:"/cocos-enhance-kit/docs/user-guide/text-render/text-richtext"}},s={},p=[{value:"\u8c03\u6574\u5168\u5c40\u5f00\u5173",id:"\u8c03\u6574\u5168\u5c40\u5f00\u5173",level:2},{value:"\u8c03\u6574\u6e32\u67d3\u7f29\u653e\u6bd4\u4f8b",id:"\u8c03\u6574\u6e32\u67d3\u7f29\u653e\u6bd4\u4f8b",level:2},{value:"\u63a7\u5236\u5355\u4e2a\u7ec4\u4ef6\u5f00\u5173",id:"\u63a7\u5236\u5355\u4e2a\u7ec4\u4ef6\u5f00\u5173",level:2}],d={toc:p};function f(e){var t=e.components,c=(0,i.Z)(e,o);return(0,a.kt)("wrapper",(0,r.Z)({},d,c,{components:t,mdxType:"MDXLayout"}),(0,a.kt)("h1",{id:"\u9ad8-dp