You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

55 lines
1.3 KiB

2 years ago
<!DOCTYPE html>
<html lang="ko">
<head>
<meta charset="utf-8" />
<base href="../../../../" />
<script src="page.js"></script>
<link type="text/css" rel="stylesheet" href="page.css" />
</head>
<body>
<h1>[name]</h1>
<p class="desc">
JSON 포맷으로 로드된 폰트를 표현하는 [page:Shape Shapes] 세트를 만듭니다.<br /><br />
[page:FontLoader]에서 내부적으로 사용됩니다.
</p>
<h2>예제</h2>
<p>
[example:webgl_geometry_text_shapes geometry / text / shapes ]
</p>
<h2>생성자</h2>
<h3>[name]( data )</h3>
<p>
data -- 폰트를 표현하는 JSON 데이터입니다.<br /><br />
이 생성자는 [page:Shape Shapes] 배열의 새 [name]를 만듭니다.
</p>
<h2>프로퍼티</h2>
<h3>[property:Array data]</h3>
<p>생성자에 전달되는 JSON 데이터입니다.</p>
<h2>메서드</h2>
<h3>[method:null generateShapes]( [param:String text], [param:Float size] )</h3>
<p>
[page:String text] -- 텍스트 문자열입니다.<br />
[page:Float size] -- (생략가능) [page:Shape Shapes]의 크기입니다. 기본값은 *100*입니다.<br />
폰트에서 텍스트를 표현하는 [page:Shape Shapes] 배열을 만듭니다.
</p>
<h2>소스코드</h2>
<p>
[link:https://github.com/mrdoob/three.js/blob/master/src/[path].js src/[path].js]
</p>
</body>
</html>