Skip to content

Commit 80c7441

Browse files
committed
Docs: Reduce linewidth through materials.
1 parent 87d1f69 commit 80c7441

16 files changed

+473
-471
lines changed

docs/api/materials/LineBasicMaterial.html

+17-17
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,11 @@
1212

1313
<h1>[name]</h1>
1414

15-
<div class="desc">A material for drawing wireframe-style geometries.</div>
15+
<p class="desc">A material for drawing wireframe-style geometries.</p>
1616

1717
<h2>Examples</h2>
1818

19-
<div>
19+
<p>
2020
[example:webgl_buffergeometry_drawcalls WebGL / buffergeometry / drawcalls]<br />
2121
[example:webgl_buffergeometry_lines WebGL / buffergeometry / lines]<br />
2222
[example:webgl_buffergeometry_lines_indexed WebGL / buffergeometry / lines / indexed]<br />
@@ -32,7 +32,7 @@ <h2>Examples</h2>
3232
[example:webgl_lines_splines WebGL / lines / splines]<br />
3333
[example:webgl_materials WebGL / materials]<br />
3434
[example:webgl_physics_rope WebGL / phyics / rope]
35-
</div>
35+
</p>
3636

3737
<code>
3838
var material = new THREE.LineBasicMaterial( {
@@ -47,59 +47,59 @@ <h2>Constructor</h2>
4747

4848
<h3>[name]( [param:Object parameters] )</h3>
4949

50-
<div>
50+
<p>
5151
[page:Object parameters] - (optional) an object with one or more properties defining the material's appearance.
5252
Any property of the material (including any property inherited from [page:Material]) can be passed in here.<br /><br />
5353

5454
The exception is the property [page:Hexadecimal color], which can be passed in as a hexadecimal
5555
string and is *0xffffff* (white) by default. [page:Color.set]( color ) is called internally.
56-
</div>
56+
</p>
5757

5858
<h2>Properties</h2>
59-
<div>See the base [page:Material] class for common properties.</div>
59+
<p>See the base [page:Material] class for common properties.</p>
6060

6161
<h3>[property:Color color]</h3>
62-
<div>[page:Color] of the material, by default set to white (0xffffff).</div>
62+
<p>[page:Color] of the material, by default set to white (0xffffff).</p>
6363

6464
<h3>[property:Boolean isLineBasicMaterial]</h3>
65-
<div>
65+
<p>
6666
Used to check whether this or derived classes are line basic materials. Default is *true*.<br /><br />
6767

6868
You should not change this, as it used internally for optimisation.
69-
</div>
69+
</p>
7070

7171
<h3>[property:Boolean lights]</h3>
72-
<div>Whether the material is affected by lights. Default is *false*.</div>
72+
<p>Whether the material is affected by lights. Default is *false*.</p>
7373

7474
<h3>[property:Float linewidth]</h3>
75-
<div>
75+
<p>
7676
Controls line thickness. Default is *1*.<br /><br />
7777

7878
Due to limitations in the [link:https://code.google.com/p/angleproject ANGLE layer],
7979
with the [page:WebGLRenderer WebGL] renderer on Windows platforms linewidth will
8080
always be 1 regardless of the set value.
81-
</div>
81+
</p>
8282

8383
<h3>[property:String linecap]</h3>
84-
<div>
84+
<p>
8585
Define appearance of line ends. Possible values are 'butt', 'round' and 'square'.
8686
Default is 'round'.<br /><br />
8787

8888
This corresponds to the [link:https://developer.mozilla.org/en/docs/Web/API/CanvasRenderingContext2D/lineCap 2D Canvas lineCap]
8989
property and it is ignored by the [page:WebGLRenderer WebGL] renderer.
90-
</div>
90+
</p>
9191

9292
<h3>[property:String linejoin]</h3>
93-
<div>
93+
<p>
9494
Define appearance of line joints. Possible values are 'round', 'bevel' and 'miter'. Default is 'round'. <br /><br />
9595

9696
This corresponds to the [link:https://developer.mozilla.org/en/docs/Web/API/CanvasRenderingContext2D/lineJoin 2D Canvas lineJoin]
9797
property and it is ignored by the [page:WebGLRenderer WebGL] renderer.
98-
</div>
98+
</p>
9999

100100

101101
<h2>Methods</h2>
102-
<div>See the base [page:Material] class for common methods.</div>
102+
<p>See the base [page:Material] class for common methods.</p>
103103

104104
<h2>Source</h2>
105105

docs/api/materials/LineDashedMaterial.html

+16-15
Original file line numberDiff line numberDiff line change
@@ -12,14 +12,14 @@
1212

1313
<h1>[name]</h1>
1414

15-
<div class="desc">A material for drawing wireframe-style geometries with dashed lines.</div>
15+
<p class="desc">A material for drawing wireframe-style geometries with dashed lines.</p>
1616

1717
<h2>Examples</h2>
1818

19-
<div>
19+
<p>
2020
[example:webgl_lines_dashed WebGL / lines / dashed]<br />
2121
[example:canvas_lines_dashed Canvas / lines /dashed]
22-
</div>
22+
</p>
2323

2424
<code>
2525
var material = new THREE.LineDashedMaterial( {
@@ -35,50 +35,51 @@ <h2>Constructor</h2>
3535

3636

3737
<h3>[name]( [param:Object parameters] )</h3>
38+
<p>
3839
[page:Object parameters] - (optional) an object with one or more properties defining the material's appearance.
3940
Any property of the material (including any property inherited from [page:Material]) can be passed in here.<br /><br />
4041

4142
The exception is the property [page:Hexadecimal color], which can be passed i as a hexadecimal
4243
string and is *0xffffff* (white) by default. [page:Color.set]( color ) is called internally.
43-
</div>
44+
</p>
4445

4546

4647
<h2>Properties</h2>
47-
<div>See the base [page:Material] class for common properties.</div>
48+
<p>See the base [page:Material] class for common properties.</p>
4849

4950
<h3>[property:Color color]</h3>
50-
<div>[page:Color] of the material, by default set to white (0xffffff).</div>
51+
<p>[page:Color] of the material, by default set to white (0xffffff).</p>
5152

5253
<h3>[property:number dashSize]</h3>
53-
<div>The size of the dash. This is both the gap with the stroke. Default is *3*.</div>
54+
<p>The size of the dash. This is both the gap with the stroke. Default is *3*.</p>
5455

5556
<h3>[property:number gapSize]</h3>
56-
<div>The size of the gap. Default is *1*.</div>
57+
<p>The size of the gap. Default is *1*.</p>
5758

5859
<h3>[property:Boolean isLineDashedMaterial]</h3>
59-
<div>
60+
<p>
6061
Used to check whether this or derived classes are line dashed materials. Default is *true*.<br /><br />
6162

6263
You should not change this, as it used internally for optimisation.
63-
</div>
64+
</p>
6465

6566
<h3>[property:Boolean lights]</h3>
66-
<div>Whether the material is affected by lights. Default is *false*.</div>
67+
<p>Whether the material is affected by lights. Default is *false*.</p>
6768

6869
<h3>[property:Float linewidth]</h3>
69-
<div>
70+
<p>
7071
Controls line thickness. Default is *1*.<br /><br />
7172

7273
Due to limitations in the [link:https://code.google.com/p/angleproject ANGLE layer],
7374
with the [page:WebGLRenderer WebGL] renderer on Windows platforms linewidth will
7475
always be 1 regardless of the set value.
75-
</div>
76+
</p>
7677

7778
<h3>[property:number scale]</h3>
78-
<div>The scale of the dashed part of a line. Default is *1*.</div>
79+
<p>The scale of the dashed part of a line. Default is *1*.</p>
7980

8081
<h2>Methods</h2>
81-
<div>See the base [page:Material] class for common methods.</div>
82+
<p>See the base [page:Material] class for common methods.</p>
8283

8384

8485

0 commit comments

Comments
 (0)