@@ -6,6 +6,7 @@ nav_order: 6
66---
77
88### Display Settings
9+ {: .no_toc .text-delta }
910
1011## Table of contents
1112{: .no_toc .text-delta }
@@ -15,7 +16,8 @@ nav_order: 6
1516
1617---
1718
18- ## ` set_canvas_width(width) `
19+ ## set_canvas_width
20+ ` set_canvas_width(width) `
1921
2022Set the canvas width and recreate the raster surface.
2123
@@ -27,7 +29,8 @@ Set the canvas width and recreate the raster surface.
2729
2830---
2931
30- ### ` set_canvas_height(height) `
32+ ### set_canvas_height
33+ ` set_canvas_height(height) `
3134
3235Set the canvas height and recreate the raster surface.
3336
@@ -39,7 +42,8 @@ Set the canvas height and recreate the raster surface.
3942
4043---
4144
42- ### ` set_canvas_size(width, height) `
45+ ### set_canvas_size
46+ ` set_canvas_size(width, height) `
4347
4448Set both canvas width and height and recreate the raster surface.
4549
@@ -52,7 +56,8 @@ Set both canvas width and height and recreate the raster surface.
5256
5357---
5458
55- ### ` set_theme(theme_name) `
59+ ### set_theme
60+ ` set_theme(theme_name) `
5661
5762Set a predefined visualisation theme.
5863
@@ -70,7 +75,8 @@ gw.set_theme("dark")
7075
7176---
7277
73- ### ` set_paint_ARBG(paint_enum, a, r, g, b) `
78+ ### set_paint_ARBG
79+ ` set_paint_ARBG(paint_enum, a, r, g, b) `
7480
7581Set the ARGB color for a specific paint type.
7682
@@ -89,7 +95,8 @@ gw.set_paint_ARBG(GwPalette.NORMAL_READ, 255, 0, 0, 128)
8995
9096---
9197
92- ### ` apply_theme(theme_dict) `
98+ ### apply_theme
99+ ` apply_theme(theme_dict) `
93100
94101Apply a custom theme using a dictionary of paint types and colors.
95102
@@ -111,7 +118,8 @@ gw.apply_theme(custom_theme)
111118
112119---
113120
114- ### ` load_theme_from_json(filepath) `
121+ ### load_theme_from_json
122+ ` load_theme_from_json(filepath) `
115123
116124Load and apply a theme from a JSON file.
117125
@@ -128,7 +136,8 @@ gw.load_theme_from_json("custom_theme.json")
128136
129137---
130138
131- ### ` save_theme_to_json(filepath) `
139+ ### save_theme_to_json
140+ ` save_theme_to_json(filepath) `
132141
133142Save the current theme settings to a JSON file.
134143
@@ -146,7 +155,8 @@ gw.save_theme_to_json("my_theme.json")
146155
147156---
148157
149- ### ` set_font_size(size) `
158+ ### set_font_size
159+ ` set_font_size(size) `
150160
151161Set the font size.
152162
@@ -156,7 +166,8 @@ Set the font size.
156166** Returns:**
157167- ` Gw ` : Self for method chaining
158168
159- ## ` set_font_name(name) `
169+ ## set_font_name
170+ ` set_font_name(name) `
160171
161172Set the font name.
162173
0 commit comments