aboutsummaryrefslogtreecommitdiff
path: root/files/ko/web/api/offscreencanvas/width
diff options
context:
space:
mode:
authorPeter Bengtsson <mail@peterbe.com>2020-12-08 14:42:17 -0500
committerPeter Bengtsson <mail@peterbe.com>2020-12-08 14:42:17 -0500
commitda78a9e329e272dedb2400b79a3bdeebff387d47 (patch)
treee6ef8aa7c43556f55ddfe031a01cf0a8fa271bfe /files/ko/web/api/offscreencanvas/width
parent1109132f09d75da9a28b649c7677bb6ce07c40c0 (diff)
downloadtranslated-content-da78a9e329e272dedb2400b79a3bdeebff387d47.tar.gz
translated-content-da78a9e329e272dedb2400b79a3bdeebff387d47.tar.bz2
translated-content-da78a9e329e272dedb2400b79a3bdeebff387d47.zip
initial commit
Diffstat (limited to 'files/ko/web/api/offscreencanvas/width')
-rw-r--r--files/ko/web/api/offscreencanvas/width/index.html63
1 files changed, 63 insertions, 0 deletions
diff --git a/files/ko/web/api/offscreencanvas/width/index.html b/files/ko/web/api/offscreencanvas/width/index.html
new file mode 100644
index 0000000000..e7d7440d28
--- /dev/null
+++ b/files/ko/web/api/offscreencanvas/width/index.html
@@ -0,0 +1,63 @@
+---
+title: OffscreenCanvas.width
+slug: Web/API/OffscreenCanvas/width
+tags:
+ - API
+ - Canvas
+ - Experimental
+ - OffscreenCanvas
+ - Property
+ - Reference
+translation_of: Web/API/OffscreenCanvas/width
+---
+<div>{{APIRef("Canvas API")}} {{SeeCompatTable}}</div>
+
+<p><code><strong>width</strong></code><strong> </strong><span style="font-size: 1rem; letter-spacing: -0.00278rem;">프로퍼티는 {{domxref("OffscreenCanvas")}} 객체에 할당된 너비를 반환합니다.</span></p>
+
+<h2 id="구문">구문</h2>
+
+<pre class="syntaxbox"><var>var <em>pxl</em> = <em>offscreen</em></var>.width;
+<em>offscreen</em>.width = <em>pxl</em>;</pre>
+
+<dl>
+</dl>
+
+<h2 id="예시">예시</h2>
+
+<p>새로운 offscreen 캔버스를 생성하고 높이를 설정하거나 반환합니다.</p>
+
+<pre class="brush: js">var offscreen = new OffscreenCanvas(256, 256);
+offscreen.width; // 256
+offscreen.width = 512;
+</pre>
+
+<h2 id="상세">상세</h2>
+
+<table class="standard-table">
+ <tbody>
+ <tr>
+ <th scope="col">Specification</th>
+ <th scope="col">Status</th>
+ <th scope="col">Comment</th>
+ </tr>
+ <tr>
+ <td>{{SpecName('HTML WHATWG', "#dom-offscreencanvas-width", "OffscreenCanvas.width")}}</td>
+ <td>{{Spec2('HTML WHATWG')}}</td>
+ <td> </td>
+ </tr>
+ </tbody>
+</table>
+
+<h2 id="브라우저_호환성">브라우저 호환성</h2>
+
+<div>
+
+
+<p>{{Compat("api.OffscreenCanvas.width")}}</p>
+</div>
+
+<h2 id="더_보기">더 보기</h2>
+
+<ul>
+ <li>{{domxref("OffscreenCanvas")}}, 프로퍼티가 속한 인터페이스</li>
+</ul>