| 1 |
# PyMuPDF Japanese documentation |
| 2 |
# Copyright (C) 2015-2023, Artifex |
| 3 |
# This file is distributed under the same license as the PyMuPDF package. |
| 4 |
# Jamie Lemon <[email protected]>, 2023. |
| 5 |
# |
| 6 |
#, fuzzy |
| 7 |
msgid "" |
| 8 |
msgstr "" |
| 9 |
"Project-Id-Version: PyMuPDF 1.23.0rc1\n" |
| 10 |
"Report-Msgid-Bugs-To: \n" |
| 11 |
"POT-Creation-Date: 2025-11-25 23:33+0000\n" |
| 12 |
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" |
| 13 |
"Last-Translator: Suzan Sanver <[email protected]>\n" |
| 14 |
"Language: ja\n" |
| 15 |
"Language-Team: ja <[email protected]>\n" |
| 16 |
"Plural-Forms: nplurals=1; plural=0;\n" |
| 17 |
"MIME-Version: 1.0\n" |
| 18 |
"Content-Type: text/plain; charset=utf-8\n" |
| 19 |
"Content-Transfer-Encoding: 8bit\n" |
| 20 |
"Generated-By: Babel 2.10.3\n" |
| 21 |
|
| 22 |
#: ../../header.rst:-1 7909b1fec71a4bb1918715ca5918f604 |
| 23 |
msgid "Artifex" |
| 24 |
msgstr "" |
| 25 |
|
| 26 |
#: ../../header.rst:-1 87466d36d4244b14b06775988b5a86da |
| 27 |
msgid "" |
| 28 |
"PyMuPDF is a high-performance Python library for data extraction, " |
| 29 |
"analysis, conversion & manipulation of PDF (and other) documents." |
| 30 |
msgstr "PyMuPDF は、PDF (およびその他の)ドキュメントのデータ抽出、分析、変換、操作のための高性能な Python ライブラリです。" |
| 31 |
|
| 32 |
#: ../../header.rst:-1 c4e019a1ef45475794222706f39fa6bd |
| 33 |
msgid "" |
| 34 |
"PDF Text Extraction, PDF Image Extraction, PDF Conversion, PDF Tables, " |
| 35 |
"PDF Splitting, PDF Creation, Pyodide, PyScript" |
| 36 |
msgstr "PDFテキスト抽出、PDFイメージ抽出、PDF変換、PDFテーブル、PDF分割、PDF作成, Pyodide, PyScript" |
| 37 |
|
| 38 |
#: ../../shape.rst:6 a9435293f59542b2850588abf5b6a5c0 |
| 39 |
msgid "Shape" |
| 40 |
msgstr "Shape(シェイプ)" |
| 41 |
|
| 42 |
#: ../../shape.rst:8 c22618002fb44404a4ac660d7663c2a9 |
| 43 |
msgid "|pdf_only_class|" |
| 44 |
msgstr "" |
| 45 |
|
| 46 |
#: ../../shape.rst:10 83f7ae44343b4e29b36be26c67c582a7 |
| 47 |
msgid "" |
| 48 |
"This class allows creating interconnected graphical elements on a PDF " |
| 49 |
"page. Its methods have the same meaning and name as the corresponding " |
| 50 |
":ref:`Page` methods." |
| 51 |
msgstr "" |
| 52 |
"このクラスは、PDFページ上で相互に接続されたグラフィカル要素を作成できるようにします。このクラスのメソッドは、対応する :ref:`Page` " |
| 53 |
"クラスのメソッドと同じ意味と名前を持っています。" |
| 54 |
|
| 55 |
#: ../../shape.rst:12 1687c125d94c4a889d4123d18b33a654 |
| 56 |
msgid "" |
| 57 |
"In fact, each :ref:`Page` draw method is just a convenience wrapper for " |
| 58 |
"(1) one shape draw method, (2) the :meth:`Shape.finish` method, and (3) " |
| 59 |
"the :meth:`Shape.commit` method. For page text insertion, only the " |
| 60 |
":meth:`Shape.commit` method is invoked. If many draw and text operations " |
| 61 |
"are executed for a page, you should always consider using a Shape object." |
| 62 |
msgstr "" |
| 63 |
"実際には、各 :ref:`Page` クラスの描画メソッドは、(1)シェイプの描画メソッド、(2) :meth:`Shape.finish` " |
| 64 |
"メソッド、(3) :meth:`Shape.commit` " |
| 65 |
"メソッドの3つの要素の便利なラッパーです。ページテキストの挿入に関しては、:meth:`Shape.commit` " |
| 66 |
"メソッドのみが呼び出されます。ページで多くの描画およびテキスト操作を実行する場合、常にShapeオブジェクトの使用を検討することをお勧めします。" |
| 67 |
|
| 68 |
#: ../../shape.rst:14 61eb314053054e4e9a36e36845c74ae6 |
| 69 |
msgid "" |
| 70 |
"Several draw methods can be executed in a row and each one of them will " |
| 71 |
"contribute to one drawing. Once the drawing is complete, the " |
| 72 |
":meth:`Shape.finish` method must be invoked to apply color, dashing, " |
| 73 |
"width, morphing and other attributes." |
| 74 |
msgstr "" |
| 75 |
"このクラスのいくつかの描画メソッドは、連続して実行でき、それぞれが1つの描画に貢献します。描画が完了したら、:meth:`Shape.finish`" |
| 76 |
" メソッドを呼び出して色、破線、幅、変形などの属性を適用する必要があります。" |
| 77 |
|
| 78 |
#: ../../shape.rst:16 f3481ff5d87c41998cb0f7de7874cbee |
| 79 |
msgid "" |
| 80 |
"**Draw** methods of this class (and :meth:`Shape.insert_textbox`) are " |
| 81 |
"logging the area they are covering in a rectangle (:attr:`Shape.rect`). " |
| 82 |
"This property can for instance be used to set " |
| 83 |
":attr:`Page.cropbox_position`." |
| 84 |
msgstr "" |
| 85 |
"このクラスの **描画** メソッド(および :meth:`Shape.insert_textbox` )は、カバーしている領域を矩形 " |
| 86 |
"(:attr:`Shape.rect`)で記録します。このプロパティは、:attr:`Page.cropbox_position` " |
| 87 |
"を設定するために使用できます。" |
| 88 |
|
| 89 |
#: ../../shape.rst:18 93fc8032a8144e439538867e5d7d9ff1 |
| 90 |
msgid "" |
| 91 |
"**Text insertions** :meth:`Shape.insert_text` and " |
| 92 |
":meth:`Shape.insert_textbox` implicitly execute a \"finish\" and " |
| 93 |
"therefore only require :meth:`Shape.commit` to become effective. As a " |
| 94 |
"consequence, both include parameters for controlling properties like " |
| 95 |
"colors, etc." |
| 96 |
msgstr "" |
| 97 |
"**テキストの挿入** 操作である :meth:`Shape.insert_text` および " |
| 98 |
":meth:`Shape.insert_textbox` は、暗黙的に「finish」を実行し、効果を発揮するために " |
| 99 |
":meth:`Shape.commit` " |
| 100 |
"のみが必要です。その結果、両方のメソッドには色などのプロパティを制御するためのパラメータが含まれています。" |
| 101 |
|
| 102 |
#: ../../shape.rst:21 7753ef6a86874229bc626bf090e7fd68 |
| 103 |
msgid "**Method / Attribute**" |
| 104 |
msgstr "**メソッド / 属性**" |
| 105 |
|
| 106 |
#: ../../shape.rst:21 21306cc0a07a4be8b729f6d593a2a25e |
| 107 |
msgid "**Description**" |
| 108 |
msgstr "**説明**" |
| 109 |
|
| 110 |
#: ../../shape.rst:23 76875c2923b44844919d4f7dbc4ff2ae |
| 111 |
msgid ":meth:`Shape.commit`" |
| 112 |
msgstr "" |
| 113 |
|
| 114 |
#: ../../shape.rst:23 b6e101dde14a4c0399c2d1e32dfae0e3 |
| 115 |
msgid "update the page's contents" |
| 116 |
msgstr "ページの内容を更新します" |
| 117 |
|
| 118 |
#: ../../shape.rst:24 68e32b027b2a42519c263a5d79f0aca5 |
| 119 |
msgid ":meth:`Shape.draw_bezier`" |
| 120 |
msgstr "" |
| 121 |
|
| 122 |
#: ../../shape.rst:24 cfd73fa2818546d897d3cc7dbf43cb7f |
| 123 |
msgid "draw a cubic Bezier curve" |
| 124 |
msgstr "キュービックベジエ曲線を描画します" |
| 125 |
|
| 126 |
#: ../../shape.rst:25 4f7b9a227586442b8c80cfc50bb5d2f6 |
| 127 |
msgid ":meth:`Shape.draw_circle`" |
| 128 |
msgstr "" |
| 129 |
|
| 130 |
#: ../../shape.rst:25 9f885ddec57646dc9618b9b296ef806e |
| 131 |
msgid "draw a circle around a point" |
| 132 |
msgstr "指定した点を中心に円を描画します" |
| 133 |
|
| 134 |
#: ../../shape.rst:26 aa0ac0a299bb4cacbdb189b821d1057f |
| 135 |
msgid ":meth:`Shape.draw_curve`" |
| 136 |
msgstr "" |
| 137 |
|
| 138 |
#: ../../shape.rst:26 444333668308404a995780c7c2ffd1e8 |
| 139 |
msgid "draw a cubic Bezier using one helper point" |
| 140 |
msgstr "ヘルパーポイントを使用してキュービックベジエ曲線を描画します" |
| 141 |
|
| 142 |
#: ../../shape.rst:27 1b7d6cc35258460398a82cc2ea5f5017 |
| 143 |
msgid ":meth:`Shape.draw_line`" |
| 144 |
msgstr "" |
| 145 |
|
| 146 |
#: ../../shape.rst:27 0a76a1b23d26472bb46eaef1b0b11d37 |
| 147 |
msgid "draw a line" |
| 148 |
msgstr "直線を描画します" |
| 149 |
|
| 150 |
#: ../../shape.rst:28 eea95a7b69df4cc6a775a0d4015d87f5 |
| 151 |
msgid ":meth:`Shape.draw_oval`" |
| 152 |
msgstr "" |
| 153 |
|
| 154 |
#: ../../shape.rst:28 34529e37e99440538218de68e175f373 |
| 155 |
msgid "draw an ellipse" |
| 156 |
msgstr "楕円を描画します" |
| 157 |
|
| 158 |
#: ../../shape.rst:29 8817f8a373594a85a5b96f2658e31d98 |
| 159 |
msgid ":meth:`Shape.draw_polyline`" |
| 160 |
msgstr "" |
| 161 |
|
| 162 |
#: ../../shape.rst:29 3b98bc2fd12c456c8a2410d43daa8912 |
| 163 |
msgid "connect a sequence of points" |
| 164 |
msgstr "一連の点を接続します" |
| 165 |
|
| 166 |
#: ../../shape.rst:30 4022cf63cc3a496696d3f62c0a2805ab |
| 167 |
msgid ":meth:`Shape.draw_quad`" |
| 168 |
msgstr "" |
| 169 |
|
| 170 |
#: ../../shape.rst:30 bde0f7baa3e145cda4e9d029099dda80 |
| 171 |
msgid "draw a quadrilateral" |
| 172 |
msgstr "四角形を描画します" |
| 173 |
|
| 174 |
#: ../../shape.rst:31 c4addcda29c140a6b1975890737ead18 |
| 175 |
msgid ":meth:`Shape.draw_rect`" |
| 176 |
msgstr "" |
| 177 |
|
| 178 |
#: ../../shape.rst:31 2b173978a5c64357ac1aabcc6e976c73 |
| 179 |
msgid "draw a rectangle" |
| 180 |
msgstr "長方形を描画します" |
| 181 |
|
| 182 |
#: ../../shape.rst:32 7f7f34efc2e944109b6c07df81c75430 |
| 183 |
msgid ":meth:`Shape.draw_sector`" |
| 184 |
msgstr "" |
| 185 |
|
| 186 |
#: ../../shape.rst:32 d5d4937a74fb42b7b20852638b500044 |
| 187 |
msgid "draw a circular sector or piece of pie" |
| 188 |
msgstr "円形セクターまたはパイの一部を描画します" |
| 189 |
|
| 190 |
#: ../../shape.rst:33 880b0c8a153e48fdaa1029e9be76e520 |
| 191 |
msgid ":meth:`Shape.draw_squiggle`" |
| 192 |
msgstr "" |
| 193 |
|
| 194 |
#: ../../shape.rst:33 da68180d030a4b1fb309de94d47743b1 |
| 195 |
msgid "draw a squiggly line" |
| 196 |
msgstr "波線を描画します" |
| 197 |
|
| 198 |
#: ../../shape.rst:34 9fe45650af3d4e0ca97f2b9d25d87789 |
| 199 |
msgid ":meth:`Shape.draw_zigzag`" |
| 200 |
msgstr "" |
| 201 |
|
| 202 |
#: ../../shape.rst:34 63c2fdb3045d4b81ae22677572e74fbe |
| 203 |
msgid "draw a zigzag line" |
| 204 |
msgstr "ジグザグ線を描画します" |
| 205 |
|
| 206 |
#: ../../shape.rst:35 c22ba5f6783649118106601684861498 |
| 207 |
msgid ":meth:`Shape.finish`" |
| 208 |
msgstr "" |
| 209 |
|
| 210 |
#: ../../shape.rst:35 7c247cc071c04f4383953864f5d543ee |
| 211 |
msgid "finish a set of draw commands" |
| 212 |
msgstr "描画コマンドのセットを完了します" |
| 213 |
|
| 214 |
#: ../../shape.rst:36 0ba068100e264e0b9e9ec1f368662d1d |
| 215 |
msgid ":meth:`Shape.insert_text`" |
| 216 |
msgstr "" |
| 217 |
|
| 218 |
#: ../../shape.rst:36 5dd5770c7a054a66ab3b70a9d530c6f3 |
| 219 |
msgid "insert text lines" |
| 220 |
msgstr "テキスト行を挿入します" |
| 221 |
|
| 222 |
#: ../../shape.rst:37 fa4216d497f9485cb9c79fc192a851bf |
| 223 |
msgid ":meth:`Shape.insert_textbox`" |
| 224 |
msgstr "" |
| 225 |
|
| 226 |
#: ../../shape.rst:37 47ec8b14ef6c4a6d97b355006a0b0b62 |
| 227 |
msgid "fit text into a rectangle" |
| 228 |
msgstr "テキストを長方形に合わせて挿入します" |
| 229 |
|
| 230 |
#: ../../shape.rst:38 f1252e5521e147f5bb1c776091ef3328 |
| 231 |
msgid ":attr:`Shape.doc`" |
| 232 |
msgstr "" |
| 233 |
|
| 234 |
#: ../../shape.rst:38 7f05739c6d0d459aa0631c532353654e |
| 235 |
msgid "stores the page's document" |
| 236 |
msgstr "ページのドキュメントを格納します" |
| 237 |
|
| 238 |
#: ../../shape.rst:39 61f46d3f420545e684f380815c9730f3 |
| 239 |
msgid ":attr:`Shape.draw_cont`" |
| 240 |
msgstr "" |
| 241 |
|
| 242 |
#: ../../shape.rst:39 8a19e4b60bd145ceaa799130f96ab50f |
| 243 |
msgid "draw commands since last :meth:`Shape.finish`" |
| 244 |
msgstr ":meth:`Shape.finish` 以降の描画コマンドを格納します" |
| 245 |
|
| 246 |
#: ../../shape.rst:40 dbc1fe5e22804f4291fdc27abafe492f |
| 247 |
msgid ":attr:`Shape.height`" |
| 248 |
msgstr "" |
| 249 |
|
| 250 |
#: ../../shape.rst:40 a1b344bfa62b474dbecc168b7566abfd |
| 251 |
msgid "stores the page's height" |
| 252 |
msgstr "ページの高さを格納します" |
| 253 |
|
| 254 |
#: ../../shape.rst:41 98c50cf9d34b4f1fac07407191336a46 |
| 255 |
msgid ":attr:`Shape.lastPoint`" |
| 256 |
msgstr "" |
| 257 |
|
| 258 |
#: ../../shape.rst:41 d744e08ab64c4be89b54b91da06292ad |
| 259 |
msgid "stores the current point" |
| 260 |
msgstr "現在のポイントを格納します" |
| 261 |
|
| 262 |
#: ../../shape.rst:42 3c7b42195cfb495cba0b78bee8af7989 |
| 263 |
msgid ":attr:`Shape.page`" |
| 264 |
msgstr "" |
| 265 |
|
| 266 |
#: ../../shape.rst:42 94b8094277504a3e865c3fc7a2fbadcf |
| 267 |
msgid "stores the owning page" |
| 268 |
msgstr "所有するページを格納します" |
| 269 |
|
| 270 |
#: ../../shape.rst:43 74e41af07b7e49dfb9e8897106da6072 |
| 271 |
msgid ":attr:`Shape.rect`" |
| 272 |
msgstr "" |
| 273 |
|
| 274 |
#: ../../shape.rst:43 2fd72b972ba64904b71bf6a28bf4aa69 |
| 275 |
msgid "rectangle surrounding drawings" |
| 276 |
msgstr "描画を囲む長方形を格納します" |
| 277 |
|
| 278 |
#: ../../shape.rst:44 d662c10c7b284e1a9e8fb0cfacc0af7e |
| 279 |
msgid ":attr:`Shape.text_cont`" |
| 280 |
msgstr "" |
| 281 |
|
| 282 |
#: ../../shape.rst:44 260872b329274794a91fbe27de9d0fd7 |
| 283 |
msgid "accumulated text insertions" |
| 284 |
msgstr "累積テキスト挿入を格納します" |
| 285 |
|
| 286 |
#: ../../shape.rst:45 260f168374084a0389735532a415f968 |
| 287 |
msgid ":attr:`Shape.totalcont`" |
| 288 |
msgstr "" |
| 289 |
|
| 290 |
#: ../../shape.rst:45 cca60781247448a6bef1b019d5b03005 |
| 291 |
msgid "accumulated string to be stored in :data:`contents`" |
| 292 |
msgstr ":data:`contents` に格納する累積文字列を格納します" |
| 293 |
|
| 294 |
#: ../../shape.rst:46 bf5489e997644d1b86ef1a304a20a630 |
| 295 |
msgid ":attr:`Shape.width`" |
| 296 |
msgstr "" |
| 297 |
|
| 298 |
#: ../../shape.rst:46 320f315bc7e34fb9a224c8104c0490ba |
| 299 |
msgid "stores the page's width" |
| 300 |
msgstr "ページの幅を格納します" |
| 301 |
|
| 302 |
#: ../../shape.rst:49 bb77ff1beb1643f1a32fbeb881764556 |
| 303 |
msgid "**Class API**" |
| 304 |
msgstr "**クラスAPI**" |
| 305 |
|
| 306 |
#: ../../shape.rst:55 f849eb8fe4ea4d84ae176a3bfaddbc5d |
| 307 |
msgid "" |
| 308 |
"Create a new drawing. During importing PyMuPDF, the *pymupdf.Page* object" |
| 309 |
" is being given the convenience method *new_shape()* to construct a " |
| 310 |
"*Shape* object. During instantiation, a check will be made whether we do " |
| 311 |
"have a PDF page. An exception is otherwise raised." |
| 312 |
msgstr "" |
| 313 |
"新しい描画を作成します。PyMuPDFをインポートする際、*pymupdf.Page* オブジェクトには *Shape* " |
| 314 |
"オブジェクトを構築するための便利なメソッド *new_shape()* " |
| 315 |
"が提供されます。インスタンス化中に、PDFページが存在するかどうかのチェックが行われます。それ以外の場合は例外が発生します。" |
| 316 |
|
| 317 |
#: ../../shape.rst 1c33018ebf664e5c82016942d1b106b9 |
| 318 |
#: 1ffb902ffb054dea81b4421598d73d3b 2c7222c93878455593e199cee35f9bc0 |
| 319 |
#: 526e0601602e4ad294c77828899ee151 652ecb786383456887f3e684eb50a16f |
| 320 |
#: 8351d111f6ba44c5a48d07b45ecd69ec 8512993c092848e68b405672b0329a5f |
| 321 |
#: 97750b106384485e9da4b3a178fc8b8a bdcf123cefb04a72ac000f1e6d213cab |
| 322 |
#: d33f1cb5159441b288aacd2ccae007dd d522a8dc82fa46aaa1bf98571addfab6 |
| 323 |
#: ec2e6f2b47e543f780ac5d88287a15e3 f4f238ef2bbb4c60a0db78dc6ba48ae3 |
| 324 |
#: fc6fd8d86630442eac29f0ee69909dd3 |
| 325 |
msgid "Parameters" |
| 326 |
msgstr "パラメータ" |
| 327 |
|
| 328 |
#: ../../shape.rst:57 7af1e6f9a6c54700a96a634680458cf7 |
| 329 |
msgid "an existing page of a PDF document." |
| 330 |
msgstr "PDFドキュメントの既存のページ。" |
| 331 |
|
| 332 |
#: ../../shape.rst:62 76f377d8f0084511ba9e8ab03be15272 |
| 333 |
msgid "Draw a line from :data:`point_like` objects *p1* to *p2*." |
| 334 |
msgstr ":data:`point_like` オブジェクト *p1* から *p2* への直線を描画します。" |
| 335 |
|
| 336 |
#: ../../shape.rst:64 ../../shape.rst:78 ../../shape.rst:114 |
| 337 |
#: 0bd9ca4fa2034c02bba75a1ed84436e8 67a3775d53744800bce979bd9509dae4 |
| 338 |
#: 6fdeeec1ae7344738df476d7c0995efd |
| 339 |
msgid "starting point" |
| 340 |
msgstr "開始点" |
| 341 |
|
| 342 |
#: ../../shape.rst:66 ../../shape.rst:80 ../../shape.rst:116 |
| 343 |
#: 233bc3b5db494f95bd617855177b0ba3 b9a33dfd5ad0434bb5d1681c4ef5477f |
| 344 |
#: d7a11d5e2d0843bf98b67ccb4c5a1b5c |
| 345 |
msgid "end point" |
| 346 |
msgstr "終了点" |
| 347 |
|
| 348 |
#: ../../shape.rst 00c99cce86684724a7484f034aead4b9 |
| 349 |
#: 11b2ce9eb7ac446288dfe432b6af2d66 37b1db5fc557483698f96296fca977a1 |
| 350 |
#: 398f16080c7c485daf19f594085b75e3 4fb89ac12ab341e98fd2fbfde502762f |
| 351 |
#: 79c3be157132461c91fbd43f577c6960 7f449ff12a28486c9377d3eae5881abe |
| 352 |
#: 86a6ff3345b34b99a0b2846ce9b63f97 87752e32bcb84c439a39262387ed43ad |
| 353 |
#: 8ce97810f50346f1963cb9045d0e3bc9 9a9e08e465d642609b4034f0ac585738 |
| 354 |
#: e06a173ede194c2499189e3f4ea96d22 f8c5c0c193bf4857a6d61a7fe76a58a0 |
| 355 |
msgid "Return type" |
| 356 |
msgstr "戻り値の型" |
| 357 |
|
| 358 |
#: ../../shape.rst:68 ../../shape.rst:84 ../../shape.rst:120 |
| 359 |
#: ../../shape.rst:129 ../../shape.rst:138 ../../shape.rst:157 |
| 360 |
#: ../../shape.rst:173 ../../shape.rst:185 ../../shape.rst:207 |
| 361 |
#: ../../shape.rst:224 ../../shape.rst:233 ../../shape.rst:448 |
| 362 |
#: 02178d1d64304122974cdd7d2eda4e9a 04e3fd71585f46408e34e1b5d2918e9d |
| 363 |
#: 1b90b951d85a446a9b18d2751aa79908 258641b6956c4c2ebb65129fbc72ae92 |
| 364 |
#: 2c6a3892b51541d9b2bc4f6aa0613353 318dc522d9764a2e9e4ad48a39be4ebb |
| 365 |
#: 60c74e5979e14e0e8d70ebeb78df14b9 6b818606a66c4dc494a2fe410d34be22 |
| 366 |
#: 6f503a8ab6474890be0934600cf2de3b 881f284fe0a54cc180a7ff765822eb7e |
| 367 |
#: 8b84d3286ddb4519bb3afc99075e83fb f570f468b63940e4b0b9f5890f13db63 |
| 368 |
msgid ":ref:`Point`" |
| 369 |
msgstr "" |
| 370 |
|
| 371 |
#: ../../shape.rst 19bca25aa417451a9d8eb8425f4d7fe5 |
| 372 |
#: 2d7984c3e8b24f9cacf4f90e2f10a7e0 42bcff3c5d7c4b3ea0f0cff8b94a1936 |
| 373 |
#: 5725a8009d724bfda07948d7fdd6a975 5ab553dbd9a245ef85863361d3458c06 |
| 374 |
#: 5baa94cd077f42439269059c4560779d a0d4f65446c742a5b9f88f747fecf574 |
| 375 |
#: a8b9ec9227c447c7b5b7e475f0ad137b b93d921a09e2475eb2dfecc00159859c |
| 376 |
#: c9221ebfa6724c35be3fe1b3043dcc84 edda77c9978d4bdc8e49a11220f628de |
| 377 |
#: fda0a5dbf3e44f70993141cd223cda9f ffd43af87088494c8ab238422d4affeb |
| 378 |
msgid "Returns" |
| 379 |
msgstr "戻り値" |
| 380 |
|
| 381 |
#: ../../shape.rst:69 ../../shape.rst:85 ../../shape.rst:121 |
| 382 |
#: 03c2703f4c2c4c488c6e1dd5a8bde13f 54fc79ebcc5547368af108398f088aa1 |
| 383 |
#: d5a893ea1f9f4e6cb959502504cda257 |
| 384 |
msgid "the end point, *p2*." |
| 385 |
msgstr "終了点 *p2*。" |
| 386 |
|
| 387 |
#: ../../shape.rst:76 eed928e2a53b4d0db6454fc9a3031e88 |
| 388 |
msgid "" |
| 389 |
"Draw a squiggly (wavy, undulated) line from :data:`point_like` objects " |
| 390 |
"*p1* to *p2*. An integer number of full wave periods will always be " |
| 391 |
"drawn, one period having a length of *4 * breadth*. The breadth parameter" |
| 392 |
" will be adjusted as necessary to meet this condition. The drawn line " |
| 393 |
"will always turn \"left\" when leaving *p1* and always join *p2* from the" |
| 394 |
" \"right\"." |
| 395 |
msgstr "" |
| 396 |
":data:`point_like` オブジェクト *p1* から *p2* " |
| 397 |
"への波線(うねり、曲線)を描画します。常に整数回の完全な波の周期が描画され、1つの周期の長さは4 * " |
| 398 |
"breadthです。必要に応じて幅パラメータが調整され、この条件を満たします。描かれる線は常に *p1* を離れる際に「左」に曲がり、*p2* " |
| 399 |
"には常に「右」から接続します。" |
| 400 |
|
| 401 |
#: ../../shape.rst:82 cbee403daaee4a56b9b2f131ff95afb9 |
| 402 |
msgid "" |
| 403 |
"the amplitude of each wave. The condition *2 * breadth < abs(p2 - p1)* " |
| 404 |
"must be true to fit in at least one wave. See the following picture, " |
| 405 |
"which shows two points connected by one full period." |
| 406 |
msgstr "" |
| 407 |
"各波の振幅。条件 *2 * breadth < abs(p2 - p1)* " |
| 408 |
"が少なくとも1つの波に収まる必要があります。次の図は、1つの完全な周期で接続された2つの点を示しています。" |
| 409 |
|
| 410 |
#: ../../shape.rst:89 c61f3a8ac2e84d7e88c065f6a80328ac |
| 411 |
msgid "" |
| 412 |
"Here is an example of three connected lines, forming a closed, filled " |
| 413 |
"triangle. Little arrows indicate the stroking direction." |
| 414 |
msgstr "以下は、閉じた塗りつぶされた三角形を形成する三つの連結した線の例です。小さな矢印はストロークの方向を示しています。" |
| 415 |
|
| 416 |
#: ../../shape.rst:105 3b09c6c0299043ad9e407b82096dc07f |
| 417 |
msgid "" |
| 418 |
"Waves drawn are **not** trigonometric (sine / cosine). If you need that, " |
| 419 |
"have a look at `draw.py <https://github.com/pymupdf/PyMuPDF-" |
| 420 |
"Utilities/blob/master/examples/draw-sines/draw.py>`_." |
| 421 |
msgstr "" |
| 422 |
"描かれる波は三角関数(正弦/余弦)**ではありません**。それが必要な場合は `draw.py " |
| 423 |
"<https://github.com/pymupdf/PyMuPDF-Utilities/blob/master/examples/draw-" |
| 424 |
"sines/draw.py>`_ を参照してください。" |
| 425 |
|
| 426 |
#: ../../shape.rst:112 e6d38796d27441ac9eb554ae3567f070 |
| 427 |
msgid "" |
| 428 |
"Draw a zigzag line from :data:`point_like` objects *p1* to *p2*. " |
| 429 |
"Otherwise works exactly like :meth:`Shape.draw_squiggle`." |
| 430 |
msgstr "" |
| 431 |
":data:`point_like` オブジェクト *p1* から *p2* へジグザグのラインを描画します。それ以外は " |
| 432 |
":meth:`Shape.draw_squiggle` とまったく同じです。" |
| 433 |
|
| 434 |
#: ../../shape.rst:118 2686f76e3e56495ca08bdd2711d1c28e |
| 435 |
msgid "" |
| 436 |
"the amplitude of the movement. The condition *2 * breadth < abs(p2 - p1)*" |
| 437 |
" must be true to fit in at least one period." |
| 438 |
msgstr "動きの振幅。1つの周期に収まるように振幅を調整します。条件は *2 * breadth < abs(p2 - p1)* である必要があります。" |
| 439 |
|
| 440 |
#: ../../shape.rst:125 bfb5a00ac07547bf822e4b2d95c0f3d7 |
| 441 |
msgid "" |
| 442 |
"Draw several connected lines between points contained in the sequence " |
| 443 |
"*points*. This can be used for creating arbitrary polygons by setting the" |
| 444 |
" last item equal to the first one." |
| 445 |
msgstr "" |
| 446 |
"シーケンス *points* " |
| 447 |
"に含まれるポイント間にいくつかの接続されたラインを描画します。これを使用して、最後のアイテムを最初のアイテムと等しく設定することで、任意の多角形を作成できます。" |
| 448 |
|
| 449 |
#: ../../shape.rst:127 9afa3278382745228b82849acc3d1db1 |
| 450 |
msgid "" |
| 451 |
"a sequence of :data:`point_like` objects. Its length must at least be 2 " |
| 452 |
"(in which case it is equivalent to *draw_line()*)." |
| 453 |
msgstr "" |
| 454 |
":data:`point_like` オブジェクトのシーケンス。その長さは少なくとも2である必要があります(この場合、*draw_line()* " |
| 455 |
"と同等です)。" |
| 456 |
|
| 457 |
#: ../../shape.rst:130 b0f8276e3be04c6996c165c83ed3fdbd |
| 458 |
msgid "*points[-1]* -- the last point in the argument sequence." |
| 459 |
msgstr "引数シーケンスの最後のポイント、*points[-1]*。" |
| 460 |
|
| 461 |
#: ../../shape.rst:134 bf9fc4f7ee704353953bbb497b85a344 |
| 462 |
msgid "" |
| 463 |
"Draw a standard cubic Bézier curve from *p1* to *p4*, using *p2* and *p3*" |
| 464 |
" as control points." |
| 465 |
msgstr "*p1* から *p4* への標準的な立方ベジエ曲線を *p2*と *p3* を制御ポイントとして描画します。" |
| 466 |
|
| 467 |
#: ../../shape.rst:136 65ae6d8fa1ca4696b5ceec6e6a33a484 |
| 468 |
#, fuzzy |
| 469 |
msgid "All arguments are :data:`point_like` objects." |
| 470 |
msgstr "すべての引数は :data:`point_like` です。" |
| 471 |
|
| 472 |
#: ../../shape.rst:139 c3bc7d17a1564a259bbccff931fbceb4 |
| 473 |
msgid "the end point, *p4*." |
| 474 |
msgstr "終了点 *p4*。" |
| 475 |
|
| 476 |
#: ../../shape.rst:141 540f633870214c57b214a2d3dc6fad47 |
| 477 |
msgid "" |
| 478 |
"The points do not need to be different -- experiment a bit with some of " |
| 479 |
"them being equal!" |
| 480 |
msgstr "ポイントは異なる必要はありません。一部のポイントが等しい場合も試してみてください!" |
| 481 |
|
| 482 |
#: ../../shape.rst:143 cc32f6b9b719471e990541995cb91d8a |
| 483 |
msgid "Example:" |
| 484 |
msgstr "例:" |
| 485 |
|
| 486 |
#: ../../shape.rst:149 3cd13feab216456fb40eabb0f87476f2 |
| 487 |
msgid "" |
| 488 |
"Draw an \"ellipse\" inside the given tetragon (quadrilateral). If it is a" |
| 489 |
" square, a regular circle is drawn, a general rectangle will result in an" |
| 490 |
" ellipse. If a quadrilateral is used instead, a plethora of shapes can be" |
| 491 |
" the result." |
| 492 |
msgstr "指定された四角形(四辺形)内に「楕円」を描画します。正方形の場合、正円が描かれ、一般的な長方形は楕円になります。四角形が使用される場合、さまざまな形状が結果として得られる可能性があります。" |
| 493 |
|
| 494 |
#: ../../shape.rst:151 3beef81862054f6c9dcfb27abe73062b |
| 495 |
msgid "" |
| 496 |
"The drawing starts and ends at the middle point of the line `bottom-left " |
| 497 |
"-> top-left` corners in an anti-clockwise movement." |
| 498 |
msgstr "描画は、反時計回りの動きで、左下隅 -> 左上隅の中間点で開始し、終了します。" |
| 499 |
|
| 500 |
#: ../../shape.rst:153 dbc5cddf46e74369a4ec90c4aba4a510 |
| 501 |
msgid "" |
| 502 |
":data:`rect_like` or :data:`quad_like`. *Changed in version 1.14.5:* " |
| 503 |
"Quads are now also supported." |
| 504 |
msgstr "" |
| 505 |
|
| 506 |
#: ../../shape.rst:153 0704abfebefe4fe78ed8116b1a8491c3 |
| 507 |
msgid ":data:`rect_like` or :data:`quad_like`." |
| 508 |
msgstr ":data:`rect_like` または :data:`quad_like`。" |
| 509 |
|
| 510 |
#: ../../shape.rst:155 b5056fbc16ad42e4b786c5a89beddb09 |
| 511 |
msgid "*Changed in version 1.14.5:* Quads are now also supported." |
| 512 |
msgstr "*バージョン1.14.5で変更:* 四角形もサポートされるようになりました。" |
| 513 |
|
| 514 |
#: ../../shape.rst:158 913c4e5f92e8407f8da84ba1fbe6cb29 |
| 515 |
msgid "" |
| 516 |
"the middle point of line `rect.bl -> rect.tl`, or resp. `quad.ll -> " |
| 517 |
"quad.ul`. Look at just a few examples here, or at the *quad-show?.py* " |
| 518 |
"scripts in the PyMuPDF-Utilities repository." |
| 519 |
msgstr "" |
| 520 |
"`rect.bl -> rect.tl` 、または `quad.ll -> quad.ul` の線の中間点。いくつかの例はこちら" |
| 521 |
"、またはPyMuPDF-Utilitiesリポジトリの *quad-show?.py* スクリプトをご覧ください。" |
| 522 |
|
| 523 |
#: ../../shape.rst:165 e10d02b00d77481699e5ed1c3824246d |
| 524 |
msgid "" |
| 525 |
"Draw a circle given its center and radius. The drawing starts and ends at" |
| 526 |
" point `center - (radius, 0)` in an **anti-clockwise** movement. This " |
| 527 |
"point is the middle of the enclosing square's left side." |
| 528 |
msgstr "" |
| 529 |
"指定された中心と半径で円を描きます。描画は、**反時計回り** の動きで、ポイント `center - (radius, 0)` " |
| 530 |
"で始まり、終了します。このポイントは、包括的な正方形の左側の中央です。" |
| 531 |
|
| 532 |
#: ../../shape.rst:167 ab7929d6c83247179ab99962d0e45182 |
| 533 |
msgid "" |
| 534 |
"This is a shortcut for `draw_sector(center, start, 360, " |
| 535 |
"fullSector=False)`. To draw the same circle in a **clockwise** movement, " |
| 536 |
"use `-360` as degrees." |
| 537 |
msgstr "" |
| 538 |
"これは `draw_sector(center, start, 360, fullSector=False)` " |
| 539 |
"のショートカットです。**時計回り** に同じ円を描画するには、度数として -360 を使用してください。" |
| 540 |
|
| 541 |
#: ../../shape.rst:169 ../../shape.rst:199 6f2705ad71a74c2b917e39246bc2698d |
| 542 |
#: bd872730dfb6401aa65d5bf0dcfa4a1d |
| 543 |
msgid "the center of the circle." |
| 544 |
msgstr "円の中心。" |
| 545 |
|
| 546 |
#: ../../shape.rst:171 5b6ab9084a254ee998a1d680ac1e0240 |
| 547 |
msgid "the radius of the circle. Must be positive." |
| 548 |
msgstr "円の半径。正である必要があります。" |
| 549 |
|
| 550 |
#: ../../shape.rst:174 7c4ce467661b468b8439dadac7926f6a |
| 551 |
msgid "" |
| 552 |
"`Point(center.x - radius, center.y)`. .. image:: images/img-drawcircle.*" |
| 553 |
" :scale: 60" |
| 554 |
msgstr "" |
| 555 |
|
| 556 |
#: ../../shape.rst:174 2debffa3cd414df1912ce3b384b1301c |
| 557 |
msgid "`Point(center.x - radius, center.y)`." |
| 558 |
msgstr "" |
| 559 |
|
| 560 |
#: ../../shape.rst:181 ee66694536bb4ca4a6a74521eab10648 |
| 561 |
msgid "" |
| 562 |
"A special case of *draw_bezier()*: Draw a cubic Bezier curve from *p1* to" |
| 563 |
" *p3*. On each of the two lines `p1 -> p2` and `p3 -> p2` one control " |
| 564 |
"point is generated. Both control points will therefore be on the same " |
| 565 |
"side of the line `p1 -> p3`. This guaranties that the curve's curvature " |
| 566 |
"does not change its sign. If the lines to p2 intersect with an angle of " |
| 567 |
"90 degrees, then the resulting curve is a quarter ellipse (resp. quarter " |
| 568 |
"circle, if of same length)." |
| 569 |
msgstr "" |
| 570 |
"*draw_bezier()* の特殊なケース: *p1* から *p3* までの三次ベジエ曲線を描きます。各ライン `p1 -> p2` および" |
| 571 |
" `p3 -> p2` に制御点が生成されます。したがって、両方の制御点はライン `p1 -> p3` " |
| 572 |
"の同じ側にあります。これにより、曲線の曲率が符号を変更しないことが保証されます。p2 " |
| 573 |
"へのラインが90度で交差する場合、結果の曲線は四分の楕円(同じ長さの場合は四半期の円)です。" |
| 574 |
|
| 575 |
#: ../../shape.rst:183 b9aa05d9515a4765ba0ed43ffaf7fdc8 |
| 576 |
msgid "All arguments are :data:`point_like`." |
| 577 |
msgstr "すべての引数は :data:`point_like` です。" |
| 578 |
|
| 579 |
#: ../../shape.rst:186 17f64971541f45cd813e80d02b9a38f9 |
| 580 |
msgid "" |
| 581 |
"the end point, *p3*. The following is a filled quarter ellipse segment. " |
| 582 |
"The yellow area is oriented **clockwise:** .. image:: images/img-" |
| 583 |
"drawCurve.png :align: center" |
| 584 |
msgstr "" |
| 585 |
|
| 586 |
#: ../../shape.rst:186 13f26770deb8487da263851084fcf4e9 |
| 587 |
msgid "" |
| 588 |
"the end point, *p3*. The following is a filled quarter ellipse segment. " |
| 589 |
"The yellow area is oriented **clockwise:**" |
| 590 |
msgstr "終点、p3。以下は塗りつぶされた四分の楕円セグメントです。黄色の領域は **時計回り** に向いています:" |
| 591 |
|
| 592 |
#: ../../shape.rst:197 e52f58c73f024ab492a6b26bf05ef6d1 |
| 593 |
msgid "" |
| 594 |
"Draw a circular sector, optionally connecting the arc to the circle's " |
| 595 |
"center (like a piece of pie)." |
| 596 |
msgstr "円のセクタを描き、必要に応じて円の中心に弧を接続します(パイの一片のように)。" |
| 597 |
|
| 598 |
#: ../../shape.rst:201 4a4f8fd9d4ae4e9f9d879279d68a23eb |
| 599 |
msgid "" |
| 600 |
"one of the two end points of the pie's arc segment. The other one is " |
| 601 |
"calculated from the *angle*." |
| 602 |
msgstr "パイの弧セグメントの2つの端点のうちの1つ。*角度* から他の端点が計算されます。" |
| 603 |
|
| 604 |
#: ../../shape.rst:203 cde4d3b5b77e4714a1e8229d3a7d5901 |
| 605 |
msgid "" |
| 606 |
"the angle of the sector in degrees. Used to calculate the other end point" |
| 607 |
" of the arc. Depending on its sign, the arc is drawn anti-clockwise " |
| 608 |
"(positive) or clockwise." |
| 609 |
msgstr "その符号に応じて、弧は反時計回り(正の値)または時計回りに描かれます。" |
| 610 |
|
| 611 |
#: ../../shape.rst:205 240361925857465eae04d2b1fb29fe7f |
| 612 |
msgid "" |
| 613 |
"whether to draw connecting lines from the ends of the arc to the circle " |
| 614 |
"center. If a fill color is specified, the full \"pie\" is colored, " |
| 615 |
"otherwise just the sector." |
| 616 |
msgstr "弧の端点から円の中心に接続線を描くかどうか。塗りつぶし色が指定されている場合、完全な「パイ」が色付けされ、それ以外の場合はセクタのみが色付けされます。" |
| 617 |
|
| 618 |
#: ../../shape.rst:208 be7cd89a7589439eb4d78244412304ad |
| 619 |
msgid "" |
| 620 |
"the other end point of the arc. Can be used as starting point for a " |
| 621 |
"following invocation to create logically connected pies charts. Examples:" |
| 622 |
" .. image:: images/img-drawSector1.* .. image:: images/img-" |
| 623 |
"drawSector2.*" |
| 624 |
msgstr "" |
| 625 |
|
| 626 |
#: ../../shape.rst:208 0043e2c7a86744b4a2bc4d7f0bce8a4b |
| 627 |
msgid "" |
| 628 |
"the other end point of the arc. Can be used as starting point for a " |
| 629 |
"following invocation to create logically connected pies charts. Examples:" |
| 630 |
msgstr "弧のもう一方の端点。論理的に接続されたパイチャートを作成するための次の呼び出しの開始点として使用できます。以下は例です:" |
| 631 |
|
| 632 |
#: ../../shape.rst:217 5fb3a670ab80402c9dcadb97fd8823f0 |
| 633 |
msgid "Changed in v1.22.0: Added parameter *radius*." |
| 634 |
msgstr "変更された v1.22.0 で:パラメーター *radius* が追加されました。" |
| 635 |
|
| 636 |
#: ../../shape.rst:219 d0e527f29d634bf6a4487b2594b804af |
| 637 |
msgid "" |
| 638 |
"Draw a rectangle. The drawing starts and ends at the top-left corner in " |
| 639 |
"an anti-clockwise movement." |
| 640 |
msgstr "長方形を描画します。描画は、上部左隅から反時計回りの動きで始まり、終了します。" |
| 641 |
|
| 642 |
#: ../../shape.rst:221 9f2b7555b1844871bbf67f60773f3566 |
| 643 |
msgid "where to put the rectangle on the page." |
| 644 |
msgstr "ページ上の長方形の配置先。" |
| 645 |
|
| 646 |
#: ../../shape.rst:222 67f101fa3c674ce7b113450e58af1ac1 |
| 647 |
#, python-format |
| 648 |
msgid "" |
| 649 |
"draw rounded rectangle corners. If not `None`, specifies the radius of " |
| 650 |
"the curvature as a percentage of a rectangle side length. This must one " |
| 651 |
"or (a tuple of) two floats `0 < radius <= 0.5`, where 0.5 corresponds to " |
| 652 |
"50% of the respective side. If a float, the radius of the curvature is " |
| 653 |
"computed as `radius * min(width, height)`, drawing the corner's perimeter" |
| 654 |
" as a quarter circle. If a tuple `(rx, ry)` is given, then the curvature " |
| 655 |
"is asymmetric with respect to the horizontal and vertical directions. A " |
| 656 |
"value of `radius=(0.5, 0.5)` draws an ellipse." |
| 657 |
msgstr "" |
| 658 |
"角の丸みを付けた長方形を描画します。`None` でない場合、曲線の半径を長方形の辺の長さのパーセンテージとして指定します。これは 1 つまたは " |
| 659 |
"2 つの浮動小数点数、`0 < radius <= 0.5` でなければなりません。0.5 は、対応する辺の 50% " |
| 660 |
"に相当します。浮動小数点数の場合、曲線の半径は `radius * min(width, height)` として計算され、角の周囲を 1/4 " |
| 661 |
"円で描画します。タプル `(rx, ry)` が指定された場合、曲線は水平および垂直方向に対して非対称です。`radius=(0.5, 0.5)`" |
| 662 |
" は楕円を描画します。" |
| 663 |
|
| 664 |
#: ../../shape.rst:225 6c3047af9341428fb1852d642a8d8fb3 |
| 665 |
msgid "top-left corner of the rectangle." |
| 666 |
msgstr "長方形の上部左隅。" |
| 667 |
|
| 668 |
#: ../../shape.rst:229 654bd0a3b7ce4bf78f0d2d85b1d37414 |
| 669 |
msgid "" |
| 670 |
"Draw a quadrilateral. The drawing starts and ends at the top-left corner " |
| 671 |
"(:attr:`Quad.ul`) in an anti-clockwise movement. It is a shortcut of " |
| 672 |
":meth:`Shape.draw_polyline` with the argument `(ul, ll, lr, ur, ul)`." |
| 673 |
msgstr "" |
| 674 |
"四角形を描画します。描画は、上部左隅 (:attr:`Quad.ul`) から反時計回りの動きで始まり、終了します。これは " |
| 675 |
":meth:`Shape.draw_polyline` の引数 `(ul, ll, lr, ur, ul)` を使用したショートカットです。" |
| 676 |
|
| 677 |
#: ../../shape.rst:231 046262682daf47c8be64f00f93f9acba |
| 678 |
msgid "where to put the tetragon on the page." |
| 679 |
msgstr "ページ上の四角形の配置先。" |
| 680 |
|
| 681 |
#: ../../shape.rst:234 3fe224acf6924b1085f1052564c9423f |
| 682 |
msgid ":attr:`Quad.ul`." |
| 683 |
msgstr "" |
| 684 |
|
| 685 |
#: ../../shape.rst:253 0de6d95816a442d3b9408559071e8954 |
| 686 |
msgid "" |
| 687 |
"Finish a set of *draw*()* methods by applying :ref:`CommonParms` to all " |
| 688 |
"of them." |
| 689 |
msgstr "次の *draw*()* メソッドの一連の描画を、:ref:`CommonParms` をそれらすべてに適用して終了します。" |
| 690 |
|
| 691 |
#: ../../shape.rst:255 56332b3691544dfbaf0fd9e731231bc5 |
| 692 |
msgid "" |
| 693 |
"It has **no effect on** :meth:`Shape.insert_text` and " |
| 694 |
":meth:`Shape.insert_textbox`." |
| 695 |
msgstr "" |
| 696 |
":meth:`Shape.insert_text` および :meth:`Shape.insert_textbox` には " |
| 697 |
"**影響を与えません**。" |
| 698 |
|
| 699 |
#: ../../shape.rst:257 549c8c7eeb8344aaa7576d3e8a534e9c |
| 700 |
msgid "" |
| 701 |
"The method also supports **morphing the compound drawing** using " |
| 702 |
":ref:`Point` *fixpoint* and :ref:`matrix` *matrix*." |
| 703 |
msgstr "" |
| 704 |
"このメソッドは、:ref:`Point` *fixpoint* と :ref:`matrix` *matrix* を使用して、テキストまたは " |
| 705 |
"**複合描画を変形させること** もサポートしています。" |
| 706 |
|
| 707 |
#: ../../shape.rst:259 dba0c80e395c4f9992d5e84ad7225ffd |
| 708 |
msgid "" |
| 709 |
"morph the text or the compound drawing around some arbitrary :ref:`Point`" |
| 710 |
" *fixpoint* by applying :ref:`Matrix` *matrix* to it. This implies that " |
| 711 |
"*fixpoint* is a **fixed point** of this operation: it will not change its" |
| 712 |
" position. Default is no morphing (``None``). The matrix can contain any " |
| 713 |
"values in its first 4 components, *matrix.e == matrix.f == 0* must be " |
| 714 |
"true, however. This means that any combination of scaling, shearing, " |
| 715 |
"rotating, flipping, etc. is possible, but translations are not." |
| 716 |
msgstr "" |
| 717 |
"テキストまたは複合描画を、任意の :ref:`Point` *fixpoint* に :ref:`Matrix` *matrix* " |
| 718 |
"を適用して変形します。これにより、*fixpoint* はこの操作の **固定ポイント** " |
| 719 |
"であることを意味します。その位置は変わりません。デフォルトは変形なし(``None``)です。ただし、matrixの最初の4つの成分には任意の値を含めることができ、*matrix.e" |
| 720 |
" == matrix.f == 0* " |
| 721 |
"である必要があります。これは、スケーリング、シアリング、回転、反転など、移動以外の組み合わせが可能であることを意味しますが、移動はできません。" |
| 722 |
|
| 723 |
#: ../../shape.rst:261 5dafa22688dd4869b353c3ba9d3b07f7 |
| 724 |
msgid "" |
| 725 |
"*(new in v1.18.1)* set transparency for stroke colors. Value < 0 or > 1 " |
| 726 |
"will be ignored. Default is 1 (intransparent)." |
| 727 |
msgstr "*(v1.18.1で新規追加)* ストロークの透明度を設定します。値が0未満または1を超える場合は無視されます。デフォルトは1(不透明)です。" |
| 728 |
|
| 729 |
#: ../../shape.rst:262 ccec6b24043c40a28e9532eddd90bdce |
| 730 |
msgid "" |
| 731 |
"*(new in v1.18.1)* set transparency for fill colors. Default is 1 " |
| 732 |
"(intransparent)." |
| 733 |
msgstr "*(v1.18.1で新規追加)* 塗りつぶしの色の透明度を設定します。デフォルトは1(不透明)です。" |
| 734 |
|
| 735 |
#: ../../shape.rst:264 df15c1363a6a46538ab6875019646cbd |
| 736 |
msgid "" |
| 737 |
"request the **\"even-odd rule\"** for filling operations. Default is " |
| 738 |
"``False``, so that the **\"nonzero winding number rule\"** is used. These" |
| 739 |
" rules are alternative methods to apply the fill color where areas " |
| 740 |
"overlap. Only with fairly complex shapes a different behavior is to be " |
| 741 |
"expected with these rules. For an in-depth explanation, see " |
| 742 |
":ref:`AdobeManual`, pp. 137 ff. Here is an example to demonstrate the " |
| 743 |
"difference." |
| 744 |
msgstr "" |
| 745 |
"塗りつぶし操作に対して **「even-oddルール」** を要求します。デフォルトは ``False`` で、したがって " |
| 746 |
"**「非ゼロのワインディング数ルール」** " |
| 747 |
"が使用されます。これらのルールは、領域が重なる場所で塗りつぶし色を適用するための代替メソッドです。複雑な形状では、これらのルールに異なる振る舞いが期待されることはほとんどありません。詳細な説明については、:ref:`AdobeManual`" |
| 748 |
" の137ページ以降を参照してください。以下はその違いを示す例です。" |
| 749 |
|
| 750 |
#: ../../shape.rst:266 c674e567b1e5433eaf84acd80acc23dc |
| 751 |
msgid "" |
| 752 |
"*(new in v1.18.4)* the :data:`xref` number of an :data:`OCG` or " |
| 753 |
":data:`OCMD` to make this drawing conditionally displayable." |
| 754 |
msgstr "" |
| 755 |
"*(v1.18.4で新規追加)* この描画を条件付きで表示可能にする :data:`OCG` または :data:`OCMD` の " |
| 756 |
":data:`xref` 番号。" |
| 757 |
|
| 758 |
#: ../../shape.rst:270 63c92f36394847c489986e7f2afbb97a |
| 759 |
msgid "For each pixel in a shape, the following will happen:" |
| 760 |
msgstr "各ピクセルの場合、以下のことが起こります:" |
| 761 |
|
| 762 |
#: ../../shape.rst:272 36c14ed50f0445be999e611bc169aa24 |
| 763 |
msgid "" |
| 764 |
"Rule **\"even-odd\"** counts, how many areas contain the pixel. If this " |
| 765 |
"count is **odd,** the pixel is regarded **inside** the shape, if it is " |
| 766 |
"**even**, the pixel is **outside**." |
| 767 |
msgstr "" |
| 768 |
"ルール **「even-odd」** は、ピクセルを含むエリアの数をカウントします。このカウントが **奇数** の場合、ピクセルは形状の " |
| 769 |
"**内部** と見なされ、偶数の場合は **外部** と見なされます。" |
| 770 |
|
| 771 |
#: ../../shape.rst:274 3effcfe2b7fe4980b3622d1cc2555db9 |
| 772 |
msgid "" |
| 773 |
"The default rule **\"nonzero winding\"** in addition looks at the " |
| 774 |
"*\"orientation\"* of each area containing the pixel: it **adds 1** if an " |
| 775 |
"area is drawn anti-clockwise and it **subtracts 1** for clockwise areas. " |
| 776 |
"If the result is zero, the pixel is regarded **outside,** pixels with a " |
| 777 |
"non-zero count are **inside** the shape." |
| 778 |
msgstr "" |
| 779 |
"デフォルトのルール **「nonzero winding」** では、ピクセルを含む各エリアの *「方向」* " |
| 780 |
"も考慮されます。エリアが反時計回りに描かれている場合は **1を追加し** 、時計回りのエリアは **1を引きます** " |
| 781 |
"。結果がゼロの場合、ピクセルは **外部** と見なされ、非ゼロのカウントを持つピクセルは形状の **内部** と見なされます。" |
| 782 |
|
| 783 |
#: ../../shape.rst:276 b72f9a0a9d6a42fba11e06941aaae289 |
| 784 |
msgid "" |
| 785 |
"Of the four shapes in above image, the top two each show three circles " |
| 786 |
"drawn in standard manner (anti-clockwise, look at the arrows). The lower " |
| 787 |
"two shapes contain one (the top-left) circle drawn clockwise. As can be " |
| 788 |
"seen, area orientation is irrelevant for the right column (even-odd " |
| 789 |
"rule)." |
| 790 |
msgstr "" |
| 791 |
"上記の画像の4つの形状のうち、上の2つはそれぞれ標準的な方法で描かれた3つの円を示しています(反時計回り、矢印を参照)。下の2つの形状には時計回りに描かれた1つ(左上)の円が含まれています。右の列では、エリアの方向は無視されることがわかります" |
| 792 |
"(even-oddルール)。" |
| 793 |
|
| 794 |
#: ../../shape.rst:297 a50a3db9c4f74b3aaed7c91f010f050f |
| 795 |
#, fuzzy |
| 796 |
msgid "Insert text lines starting at ``point``." |
| 797 |
msgstr "テキスト行を *point* で開始します。" |
| 798 |
|
| 799 |
#: ../../shape.rst:299 d60ae29ad0ca4e709ff2c72d7bf5c264 |
| 800 |
msgid "" |
| 801 |
"the bottom-left position of the first character of *text* in pixels. It " |
| 802 |
"is important to understand, how this works in conjunction with the " |
| 803 |
"*rotate* parameter. Please have a look at the following picture. The " |
| 804 |
"small red dots indicate the positions of *point* in each of the four " |
| 805 |
"possible cases. .. image:: images/img-inserttext.* :scale: 33" |
| 806 |
msgstr "" |
| 807 |
|
| 808 |
#: ../../shape.rst:299 1521f8f6fbea43a0be0deb7904e4623c |
| 809 |
msgid "" |
| 810 |
"the bottom-left position of the first character of *text* in pixels. It " |
| 811 |
"is important to understand, how this works in conjunction with the " |
| 812 |
"*rotate* parameter. Please have a look at the following picture. The " |
| 813 |
"small red dots indicate the positions of *point* in each of the four " |
| 814 |
"possible cases." |
| 815 |
msgstr "" |
| 816 |
"テキストの最初の文字の下部左位置(ピクセル単位)。*rotate* " |
| 817 |
"パラメータとの連携方法を理解することが重要です。以下の画像をご覧ください。小さな赤い点は、各ケースでの *point* の位置を示しています。" |
| 818 |
|
| 819 |
#: ../../shape.rst:304 c50197a3ee954fc4b17e16da50350320 |
| 820 |
#, fuzzy |
| 821 |
msgid "" |
| 822 |
"the text to be inserted. May be specified as either a string type or as a" |
| 823 |
" sequence type. For sequences, or strings containing line breaks ``\\n``," |
| 824 |
" several lines will be inserted. No care will be taken if lines are too " |
| 825 |
"wide, but the number of inserted lines will be limited by \"vertical\" " |
| 826 |
"space on the page (in the sense of reading direction as established by " |
| 827 |
"the *rotate* parameter). Any rest of *text* is discarded -- the return " |
| 828 |
"code however contains the number of inserted lines." |
| 829 |
msgstr "" |
| 830 |
"挿入するテキスト。文字列型または文字列のシーケンス型として指定できます。シーケンスの場合、または改行文字 *\\n* " |
| 831 |
"を含む文字列の場合、複数の行が挿入されます。ただし、行があまりにも幅が広い場合、挿入される行数はページ上の「垂直」スペース(*回転* " |
| 832 |
"パラメータによって確立される読み取り方向の意味で)によって制限されます。*テキスト* " |
| 833 |
"の残り部分は破棄されますが、戻りコードには挿入された行数が含まれます。" |
| 834 |
|
| 835 |
#: ../../shape.rst:306 ../../shape.rst:346 a2bce94fcad44fc08799f6d16a27e19d |
| 836 |
#: f75a16cbc40142c5a8ce2199eb87b25c |
| 837 |
msgid "" |
| 838 |
"a factor to override the line height calculated from font properties. If " |
| 839 |
"not `None`, a line height of `fontsize * lineheight` will be used." |
| 840 |
msgstr "" |
| 841 |
"フォントのプロパティから計算された行の高さをオーバーライドするためのファクター。``None`` でない場合、`fontsize * " |
| 842 |
"lineheight` の行の高さが使用されます。" |
| 843 |
|
| 844 |
#: ../../shape.rst:307 1ecd328d935546d38c4621a762982871 |
| 845 |
msgid "" |
| 846 |
"*(new in v1.18.1)* set transparency for stroke colors (the **border " |
| 847 |
"line** of a character). Only `0 <= value <= 1` will be considered. " |
| 848 |
"Default is 1 (intransparent)." |
| 849 |
msgstr "*(v1.18.1で新規追加)* ストロークの透明度を設定します。値が0未満または1を超える場合は無視されます。デフォルトは1(不透明)です。" |
| 850 |
|
| 851 |
#: ../../shape.rst:308 ../../shape.rst:351 168d47f1a50e45efbddb4be1a0a28d1c |
| 852 |
#: 7029b8b04590494a850f9bf97c737317 |
| 853 |
msgid "" |
| 854 |
"*(new in v1.18.1)* set transparency for fill colors. Default is 1 " |
| 855 |
"(intransparent). Use this value to control transparency of the text " |
| 856 |
"color. Stroke opacity **only** affects the border line of characters." |
| 857 |
msgstr "" |
| 858 |
"*(v1.18.1で新たに追加)* " |
| 859 |
"塗りつぶしカラーの透明度を設定します。デフォルトは1(不透明)です。テキストカラーの透明度を制御するためにこの値を使用します。ストロークの透明度は文字の境界線に" |
| 860 |
" **のみ** 影響します。" |
| 861 |
|
| 862 |
#: ../../shape.rst:310 bc253669783d43fbbcea827f904f8df7 |
| 863 |
msgid "" |
| 864 |
"determines whether to rotate the text. Acceptable values are multiples of" |
| 865 |
" 90 degrees. Default is 0 (no rotation), meaning horizontal text lines " |
| 866 |
"oriented from left to right. 180 means text is shown upside down from " |
| 867 |
"**right to left**. 90 means anti-clockwise rotation, text running " |
| 868 |
"**upwards**. 270 (or -90) means clockwise rotation, text running " |
| 869 |
"**downwards**. In any case, *point* specifies the bottom-left coordinates" |
| 870 |
" of the first character's rectangle. Multiple lines, if present, always " |
| 871 |
"follow the reading direction established by this parameter. So line 2 is " |
| 872 |
"located **above** line 1 in case of `rotate = 180`, etc." |
| 873 |
msgstr "" |
| 874 |
"テキストを回転させるかどうかを決定します。許容される値は90度の倍数です。デフォルトは0(回転なし)で、左から右への水平テキストが表示されます。180は、**右から左**" |
| 875 |
" への上下逆さテキストを意味し、90は反時計回りの回転で、テキストが **上向き** " |
| 876 |
"に表示されます。270(または-90)は時計回りの回転で、テキストが **下向き** " |
| 877 |
"に表示されます。いずれの場合も、pointは最初の文字の矩形の左下の座標を指定します。存在する場合、複数行は常にこのパラメータによって確立された読み取り方向に従います。したがって、" |
| 878 |
" *rotate = 180* の場合、行2は行1の **上に** 配置されます。" |
| 879 |
|
| 880 |
#: ../../shape.rst:312 ../../shape.rst:355 68906f83108042f0b104b462a3b39709 |
| 881 |
#: 9759f8b8a55448eb88645d85395ee4e8 |
| 882 |
msgid "" |
| 883 |
"*(new in v1.18.4)* the :data:`xref` number of an :data:`OCG` or " |
| 884 |
":data:`OCMD` to make this text conditionally displayable." |
| 885 |
msgstr "" |
| 886 |
"*(v1.18.4 新機能)* :data:`OCG` または :data:`OCMD` の :data:`xref` " |
| 887 |
"番号、テキストを条件付きで表示可能にするためのものです。" |
| 888 |
|
| 889 |
#: ../../shape.rst:315 ed86c6cd4572455ba92ae3ff42b41fdf |
| 890 |
msgid "number of lines inserted." |
| 891 |
msgstr "挿入された行数。" |
| 892 |
|
| 893 |
#: ../../shape.rst:317 ../../shape.rst:367 4a40110f016f4c7bb3e919ac462d14e3 |
| 894 |
#: 785b22c9fbc5484186666fbe76c0f207 |
| 895 |
msgid "For a description of the other parameters see :ref:`CommonParms`." |
| 896 |
msgstr "他のパラメータの説明については :ref:`CommonParms` を参照してください。" |
| 897 |
|
| 898 |
#: ../../shape.rst:338 32569db0897946de8f8338dcc82e3dd3 |
| 899 |
msgid "" |
| 900 |
"PDF only: Insert text into the specified rectangle. The text will be " |
| 901 |
"split into lines and words and then filled into the available space, " |
| 902 |
"starting from one of the four rectangle corners, which depends on " |
| 903 |
"`rotate`. Line feeds and multiple space will be respected." |
| 904 |
msgstr "" |
| 905 |
"PDFのみ:指定された矩形にテキストを挿入します。テキストは行と単語に分割され、*回転* " |
| 906 |
"に応じて異なる矩形の角から始まり、利用可能なスペースに挿入されます。行送りと複数のスペースは尊重されます。" |
| 907 |
|
| 908 |
#: ../../shape.rst:340 c50da8ee249d416084e826f0a8a2efd6 |
| 909 |
msgid "the area to use. It must be finite and not empty." |
| 910 |
msgstr "使用する領域。有限でかつ空でなければなりません。" |
| 911 |
|
| 912 |
#: ../../shape.rst:342 7990001f1d8a482696c3ea94ee3b11c5 |
| 913 |
msgid "" |
| 914 |
"the text to be inserted. Must be specified as a string or a sequence of " |
| 915 |
"strings. Line breaks are respected also when occurring in a sequence " |
| 916 |
"entry." |
| 917 |
msgstr "挿入するテキスト。文字列または文字列のシーケンスとして指定する必要があります。シーケンスエントリ内の行送りも尊重されます。" |
| 918 |
|
| 919 |
#: ../../shape.rst:344 8bfa2ed038884962a70ceb3e0459dc06 |
| 920 |
msgid "" |
| 921 |
"align each text line. Default is 0 (left). Centered, right and justified " |
| 922 |
"are the other supported options, see :ref:`TextAlign`. Please note that " |
| 923 |
"the effect of parameter value *TEXT_ALIGN_JUSTIFY* is only achievable " |
| 924 |
"with \"simple\" (single-byte) fonts (including the :ref:`Base-14-Fonts`)." |
| 925 |
msgstr "" |
| 926 |
"各テキスト行を整列させます。デフォルトは0(左揃え)。センタリング、右揃え、ジャスティファイドがサポートされている他のオプションです。詳細は " |
| 927 |
":ref:`TextAlign` を参照してください。なお、パラメータ値 *TEXT_ALIGN_JUSTIFY* " |
| 928 |
"の効果は、「シンプル」(単一バイト)フォント(:ref:`Base-14-Fonts` を含む)でのみ達成できます。" |
| 929 |
|
| 930 |
#: ../../shape.rst:348 9adb4b3bbe094da8a624bd552fc13f21 |
| 931 |
msgid "" |
| 932 |
"controls handling of tab characters ``\\t`` using the " |
| 933 |
"`string.expandtabs()` method **per each line**." |
| 934 |
msgstr "タブ文字 *\\t* の処理を **行ごとに** *string.expandtabs()* メソッドを使用して制御します。" |
| 935 |
|
| 936 |
#: ../../shape.rst:350 67177b4ade6c4da5a4523395d6bd4bf4 |
| 937 |
msgid "" |
| 938 |
"*(new in v1.18.1)* set transparency for stroke colors. Negative values " |
| 939 |
"and values > 1 will be ignored. Default is 1 (intransparent)." |
| 940 |
msgstr "*(v1.18.1で新たに追加)* ストロークカラーの透明度を設定します。負の値や1より大きい値は無視されます。デフォルトは1(不透明)です。" |
| 941 |
|
| 942 |
#: ../../shape.rst:353 d5edb13ac13b4ab4ba9d26fa3d3a6d82 |
| 943 |
msgid "" |
| 944 |
"requests text to be rotated in the rectangle. This value must be a " |
| 945 |
"multiple of 90 degrees. Default is 0 (no rotation). Effectively, the four" |
| 946 |
" values `0`, `90`, `180` and `270` (= `-90`) are processed, each causing " |
| 947 |
"the text to start in a different rectangle corner. Bottom-left is `90`, " |
| 948 |
"bottom-right is `180`, and `-90 / 270` is top-right. See the example how " |
| 949 |
"text is filled in a rectangle. This argument takes precedence over " |
| 950 |
"morphing. See the second example, which shows text first rotated left by " |
| 951 |
"`90` degrees and then the whole rectangle rotated clockwise around is " |
| 952 |
"lower left corner." |
| 953 |
msgstr "" |
| 954 |
"テキストを矩形内で回転させるように要求します。受け入れ可能な値は90度の倍数です。デフォルトは0(回転なし)、つまり左から右への水平なテキスト行です。180は、右から左に逆さまに表示されることを意味します。90は反時計回りの回転で、テキストは上に向かって表示されます。270(または-90)は時計回りの回転で、テキストは下に向かって表示されます。いずれの場合も、pointは最初の文字の矩形の左下の座標を指定します。複数行がある場合は、常にこのパラメータで確立された読み取り方向に従います。したがって、rotate" |
| 955 |
" = 180の場合、行2は行1の上に配置されますなど。" |
| 956 |
|
| 957 |
#: ../../shape.rst:358 c9924f296b104dcb885e423a8329287a |
| 958 |
msgid "" |
| 959 |
"**If positive or zero**: successful execution. The value returned is the " |
| 960 |
"unused rectangle line space in pixels. This may safely be ignored -- or " |
| 961 |
"be used to optimize the rectangle, position subsequent items, etc. **If " |
| 962 |
"negative**: no execution. The value returned is the space deficit to " |
| 963 |
"store text lines. Enlarge rectangle, decrease *fontsize*, decrease text " |
| 964 |
"amount, etc." |
| 965 |
msgstr "" |
| 966 |
|
| 967 |
#: ../../shape.rst:359 ff434ea0b01748d3a22351b8914d1de9 |
| 968 |
msgid "" |
| 969 |
"**If positive or zero**: successful execution. The value returned is the " |
| 970 |
"unused rectangle line space in pixels. This may safely be ignored -- or " |
| 971 |
"be used to optimize the rectangle, position subsequent items, etc." |
| 972 |
msgstr "" |
| 973 |
"**正またはゼロの場合** " |
| 974 |
":正常な実行。返される値は使用されていない矩形行のスペース(ピクセル単位)です。これを安全に無視するか、矩形を最適化したり、後続のアイテムの位置を調整したりするために使用できます。" |
| 975 |
|
| 976 |
#: ../../shape.rst:361 2d7f62a0c5ec468eb58daea2b7b74842 |
| 977 |
msgid "" |
| 978 |
"**If negative**: no execution. The value returned is the space deficit to" |
| 979 |
" store text lines. Enlarge rectangle, decrease *fontsize*, decrease text " |
| 980 |
"amount, etc." |
| 981 |
msgstr "" |
| 982 |
"**負の場合**: " |
| 983 |
"実行なし。返される値はテキスト行を格納するためのスペース不足です。矩形を拡大したり、フォントサイズを減少させたり、テキストの量を減少させたりする必要があります。" |
| 984 |
|
| 985 |
#: ../../shape.rst:375 f65e40d3ebec4535af01faa79e3c04db |
| 986 |
msgid "" |
| 987 |
"Update the page's :data:`contents` with the accumulated drawings, " |
| 988 |
"followed by any text insertions. If text overlaps drawings, it will be " |
| 989 |
"written on top of the drawings." |
| 990 |
msgstr "" |
| 991 |
"ページの :data:`contents` " |
| 992 |
"を蓄積された描画に更新し、その後テキスト挿入が続きます。テキストが描画と重なる場合、テキストは描画の上に書き込まれます。" |
| 993 |
|
| 994 |
#: ../../shape.rst:377 3cc36436278147c4bf9af8031f1046a3 |
| 995 |
msgid "**Do not forget to execute this method:**" |
| 996 |
msgstr "**このメソッドを実行しないことは忘れないでください:**" |
| 997 |
|
| 998 |
#: ../../shape.rst:379 44ccc171888e476f88b7c3ce68d54ad9 |
| 999 |
msgid "" |
| 1000 |
"If a shape is **not committed, it will be ignored and the page will not " |
| 1001 |
"be changed!**" |
| 1002 |
msgstr "シェイプが **確定されていない** 場合、無視され、ページは変更されません!" |
| 1003 |
|
| 1004 |
#: ../../shape.rst:381 8911998982cf45e6b4d61df722ae0084 |
| 1005 |
msgid "" |
| 1006 |
"The method will reset attributes :attr:`Shape.rect`, :attr:`lastPoint`, " |
| 1007 |
":attr:`draw_cont`, :attr:`text_cont` and :attr:`totalcont`. Afterwards, " |
| 1008 |
"the shape object can be reused for the **same page**." |
| 1009 |
msgstr "" |
| 1010 |
"このメソッドは、属性 :attr:`Shape.rect`、:attr:`lastPoint` 、:attr:`draw_cont` " |
| 1011 |
"、:attr:`text_cont` 、および :attr:`totalcont` をリセットします。その後、シェイプオブジェクトは " |
| 1012 |
"**同じページ** で再利用できます。" |
| 1013 |
|
| 1014 |
#: ../../shape.rst:383 90b57d6cc3344abaa5ae796d17518c78 |
| 1015 |
msgid "" |
| 1016 |
"determine whether to put content in foreground (default) or background. " |
| 1017 |
"Relevant only, if the page already has a non-empty :data:`contents` " |
| 1018 |
"object." |
| 1019 |
msgstr "" |
| 1020 |
"コンテンツを前面(デフォルト)または背面に配置するかどうかを決定します。ページに既存の非空の :data:`contents` " |
| 1021 |
"オブジェクトがある場合のみ関連します。" |
| 1022 |
|
| 1023 |
#: ../../shape.rst:385 555f29f07330465799e60c983380d945 |
| 1024 |
msgid "**---------- Attributes ----------**" |
| 1025 |
msgstr "**属性**" |
| 1026 |
|
| 1027 |
#: ../../shape.rst:389 bcd84d9d71fe4ab7a75882c2f6ea55ee |
| 1028 |
msgid "For reference only: the page's document." |
| 1029 |
msgstr "参照専用:ページの文書。" |
| 1030 |
|
| 1031 |
#: ../../shape.rst 4bc5f78dcd47499499d993fc76937923 |
| 1032 |
#: 51e0e906798c404999816e887c14725e 583eb30bb6764d82886dcee5ecc5ef23 |
| 1033 |
#: 7da907572dab4cdd850b1f99866f1208 84fee03ff02a47de895a2e76a85339b0 |
| 1034 |
#: 8ad67482ac084e4e8acd77c771ac9813 bd1c39ed922a4dba9f34104a29bd9bd6 |
| 1035 |
#: dc8385568c9641d9bb717e0218bc356a f04ca533ba0f465e9baafc622227ff3a |
| 1036 |
msgid "type" |
| 1037 |
msgstr "" |
| 1038 |
|
| 1039 |
#: ../../shape.rst:391 d4a7179efc87417687ed54512b5fd372 |
| 1040 |
msgid ":ref:`Document`" |
| 1041 |
msgstr "" |
| 1042 |
|
| 1043 |
#: ../../shape.rst:395 e50d0793a5eb432bb3c2ca8ea196f4c2 |
| 1044 |
msgid "For reference only: the owning page." |
| 1045 |
msgstr "参照専用:所属するページ。" |
| 1046 |
|
| 1047 |
#: ../../shape.rst:397 a88ee833273045f299c35dd3ead948a4 |
| 1048 |
msgid ":ref:`Page`" |
| 1049 |
msgstr "" |
| 1050 |
|
| 1051 |
#: ../../shape.rst:401 2bad01b347624c13a0c42fc3970fc1b5 |
| 1052 |
msgid "Copy of the page's height" |
| 1053 |
msgstr "ページの高さのコピー" |
| 1054 |
|
| 1055 |
#: ../../shape.rst:403 ../../shape.rst:409 a1d7f49541cb48ab8a1087635dffe627 |
| 1056 |
#: ee0e76b01d494167bc804a4bcb20168e |
| 1057 |
msgid "float" |
| 1058 |
msgstr "" |
| 1059 |
|
| 1060 |
#: ../../shape.rst:407 ae4a0df9e57c45dd99dc05694d71194d |
| 1061 |
msgid "Copy of the page's width." |
| 1062 |
msgstr "ページの幅のコピー。" |
| 1063 |
|
| 1064 |
#: ../../shape.rst:413 36e04a92b85b455f986d86cf86a84b9d |
| 1065 |
msgid "" |
| 1066 |
"Accumulated command buffer for **draw methods** since last finish. Every " |
| 1067 |
"finish method will append its commands to :attr:`Shape.totalcont`." |
| 1068 |
msgstr "" |
| 1069 |
"最後のfinish以降の **描画メソッド** の蓄積コマンドバッファ。各finishメソッドはそのコマンドを " |
| 1070 |
":attr:`Shape.totalcont` に追加します。" |
| 1071 |
|
| 1072 |
#: ../../shape.rst:415 ../../shape.rst:421 ../../shape.rst:442 |
| 1073 |
#: 0e691c52a692459fb3651063bbd96fa1 3bd5e87273ea409ba3861ff7a5df3fba |
| 1074 |
#: 6131e3edacf44d948d0f06ae76196fb4 |
| 1075 |
msgid "str" |
| 1076 |
msgstr "" |
| 1077 |
|
| 1078 |
#: ../../shape.rst:419 1c7cc423d0b647cc8b976e70594d7e5a |
| 1079 |
msgid "" |
| 1080 |
"Accumulated text buffer. All **text insertions** go here. This buffer " |
| 1081 |
"will be appended to :attr:`totalcont` :meth:`Shape.commit`, so that text " |
| 1082 |
"will never be covered by drawings in the same Shape." |
| 1083 |
msgstr "" |
| 1084 |
"蓄積されたテキストバッファ。すべての **テキスト挿入** はここに行われます。このバッファは :attr:`totalcont` " |
| 1085 |
":meth:`Shape.commit` に追加されるため、テキストは同じShape内の描画に覆われることはありません。" |
| 1086 |
|
| 1087 |
#: ../../shape.rst:425 31e0348adf3949dea03c7e108eec0e9a |
| 1088 |
msgid "" |
| 1089 |
"Rectangle surrounding drawings. This attribute is at your disposal and " |
| 1090 |
"may be changed at any time. Its value is set to ``None`` when a shape is " |
| 1091 |
"created or committed. Every *draw** method, and " |
| 1092 |
":meth:`Shape.insert_textbox` update this property (i.e. **enlarge** the " |
| 1093 |
"rectangle as needed). **Morphing** operations, however " |
| 1094 |
"(:meth:`Shape.finish`, :meth:`Shape.insert_textbox`) are ignored." |
| 1095 |
msgstr "" |
| 1096 |
"描画を囲む矩形。この属性はあなたの自由に使用でき、いつでも変更できます。シェイプが作成または確定されたとき、その値は ``None`` " |
| 1097 |
"に設定されます。すべての *draw** メソッド、および :meth:`Shape.insert_textbox` " |
| 1098 |
"はこのプロパティを更新します(必要に応じて矩形を **拡大します** )。ただし、**変形** 操作(:meth:`Shape.finish` " |
| 1099 |
"、:meth:`Shape.insert_textbox` )は無視されます。" |
| 1100 |
|
| 1101 |
#: ../../shape.rst:427 58e3a175f61343beb779d52d6f9a968a |
| 1102 |
msgid "" |
| 1103 |
"A typical use of this attribute would be setting " |
| 1104 |
":attr:`Page.cropbox_position` to this value, when you are creating shapes" |
| 1105 |
" for later or external use. If you have not manipulated the attribute " |
| 1106 |
"yourself, it should reflect a rectangle that contains all drawings so " |
| 1107 |
"far." |
| 1108 |
msgstr "" |
| 1109 |
"この属性の典型的な使用法は、後でまたは外部で使用するためにシェイプを作成する場合、:attr:`Page.cropbox_position` " |
| 1110 |
"をこの値に設定することです。自分で属性を操作していない場合、これはこれまでのすべての描画を含む矩形を反映するはずです。" |
| 1111 |
|
| 1112 |
#: ../../shape.rst:429 bde3111f6fcb4fde8ae6d94e2b784878 |
| 1113 |
msgid "" |
| 1114 |
"If you have used morphing and need a rectangle containing the morphed " |
| 1115 |
"objects, use the following code::" |
| 1116 |
msgstr "変形を使用し、変形されたオブジェクトを含む矩形が必要な場合、次のコードを使用します::" |
| 1117 |
|
| 1118 |
#: ../../shape.rst:436 8b59162d4cdc4453a1a62c884c29d8c5 |
| 1119 |
msgid ":ref:`Rect`" |
| 1120 |
msgstr "" |
| 1121 |
|
| 1122 |
#: ../../shape.rst:440 70f79c2bf0624368be25e43a4b7a3c3f |
| 1123 |
msgid "" |
| 1124 |
"Total accumulated command buffer for draws and text insertions. This will" |
| 1125 |
" be used by :meth:`Shape.commit`." |
| 1126 |
msgstr "描画およびテキスト挿入のための累積コマンドバッファです。これは :meth:`Shape.commit` で使用されます。" |
| 1127 |
|
| 1128 |
#: ../../shape.rst:446 2a512a35544e4ff4bc0908226c3f1474 |
| 1129 |
msgid "" |
| 1130 |
"For reference only: the current point of the drawing path. It is ``None``" |
| 1131 |
" at *Shape* creation and after each *finish()* and *commit()*." |
| 1132 |
msgstr "" |
| 1133 |
"参照用: 描画パスの現在のポイントです。*Shape* の作成時、および各 *finish()* および *commit()* の後には " |
| 1134 |
"``None`` です。" |
| 1135 |
|
| 1136 |
#: ../../shape.rst:451 5f43e7fa99ee464a8f4e310b6073e35b |
| 1137 |
msgid "Usage" |
| 1138 |
msgstr "使用法" |
| 1139 |
|
| 1140 |
#: ../../shape.rst:452 a35b85f2df424fe5a8123cbd236b49c9 |
| 1141 |
msgid "" |
| 1142 |
"A drawing object is constructed by *shape = page.new_shape()*. After " |
| 1143 |
"this, as many draw, finish and text insertions methods as required may " |
| 1144 |
"follow. Each sequence of draws must be finished before the drawing is " |
| 1145 |
"committed. The overall coding pattern looks like this::" |
| 1146 |
msgstr "" |
| 1147 |
"drawingオブジェクトは `shape = page.new_shape()` " |
| 1148 |
"によって構築されます。その後、必要なだけ多くのdraw、finish、およびテキスト挿入メソッドが続きます。描画をコミットする前に、各描画シーケンスを終了する必要があります。全体のコーディングパターンは次のようになります::" |
| 1149 |
|
| 1150 |
#: ../../shape.rst:471 7d0392c130464a54a962cc95cad3ce9d |
| 1151 |
msgid "" |
| 1152 |
"Each *finish()* combines the preceding draws into one logical shape, " |
| 1153 |
"giving it common colors, line width, morphing, etc. If *closePath* is " |
| 1154 |
"specified, it will also connect the end point of the last draw with the " |
| 1155 |
"starting point of the first one." |
| 1156 |
msgstr "" |
| 1157 |
"各 *finish()* メソッドは、前の描画を1つの論理的なシェイプに結合し、共通の色、線の幅、変形などを設定します。*closePath* " |
| 1158 |
"が指定されている場合、最後の描画のエンドポイントを最初の描画のスタートポイントと接続します。" |
| 1159 |
|
| 1160 |
#: ../../shape.rst:473 d909c60fe1834c8eb1936c81f4fe8a7c |
| 1161 |
msgid "" |
| 1162 |
"To successfully create compound graphics, let each draw method use the " |
| 1163 |
"end point of the previous one as its starting point. In the above pseudo " |
| 1164 |
"code, *draw2* should hence use the returned :ref:`Point` of *draw1* as " |
| 1165 |
"its starting point. Failing to do so, would automatically start a new " |
| 1166 |
"path and *finish()* may not work as expected (but it won't complain " |
| 1167 |
"either)." |
| 1168 |
msgstr "" |
| 1169 |
"複合グラフィックを正常に作成するには、各 draw " |
| 1170 |
"メソッドが前の描画のエンドポイントを次の描画のスタートポイントとして使用してください。上記の疑似コードでは、*draw2* は *draw1* " |
| 1171 |
"の戻り値である :ref:`Point` " |
| 1172 |
"を次の描画のスタートポイントとして使用すべきです。そうしないと、自動的に新しいパスが開始され、*finish()* " |
| 1173 |
"が期待どおりに動作しないかもしれません(ただし、エラーは発生しません)。" |
| 1174 |
|
| 1175 |
#: ../../shape.rst:475 fb42b4b00cfd4c8f9bc125398e78d941 |
| 1176 |
msgid "" |
| 1177 |
"Text insertions may occur anywhere before the commit (they neither touch " |
| 1178 |
":attr:`Shape.draw_cont` nor :attr:`Shape.lastPoint`). They are appended " |
| 1179 |
"to *Shape.totalcont* directly, whereas draws will be appended by " |
| 1180 |
"*Shape.finish*." |
| 1181 |
msgstr "" |
| 1182 |
"テキストの挿入は、コミット(commit)の前にどこでも発生できます :attr:`Shape.draw_cont` または " |
| 1183 |
":attr:`Shape.lastPoint` に触れません)。テキストは直接 *Shape.totalcont* に追加されますが、描画は " |
| 1184 |
"*Shape.finish* によって追加されます。" |
| 1185 |
|
| 1186 |
#: ../../shape.rst:477 f1ba4537b82747479d0306c9e87f4f4c |
| 1187 |
msgid "" |
| 1188 |
"Each *commit* takes all text insertions and shapes and places them in " |
| 1189 |
"foreground or background on the page -- thus providing a way to control " |
| 1190 |
"graphical layers." |
| 1191 |
msgstr "各 *コミット* は、すべてのテキスト挿入とシェイプをページの前面または背面に配置し、グラフィックのレイヤーを制御する方法を提供します。" |
| 1192 |
|
| 1193 |
#: ../../shape.rst:479 f54933082b2d4eff99e12a13fc1482a9 |
| 1194 |
msgid "" |
| 1195 |
"**Only** *commit* **will update** the page's contents, the other methods " |
| 1196 |
"are basically string manipulations." |
| 1197 |
msgstr "*コミット* **のみ** がページのコンテンツを **更新します**。他のメソッドは基本的に文字列の操作です。" |
| 1198 |
|
| 1199 |
#: ../../shape.rst:482 278641dcb46d4baf936c58e97dcd5458 |
| 1200 |
msgid "Examples" |
| 1201 |
msgstr "例" |
| 1202 |
|
| 1203 |
#: ../../shape.rst:483 eb1041462daa4eaea29f2c68f9820833 |
| 1204 |
msgid "Create a full circle of pieces of pie in different colors::" |
| 1205 |
msgstr "異なる色のピースを使用して円形のパイを作成します::" |
| 1206 |
|
| 1207 |
#: ../../shape.rst:498 eaebaebe3baa4f09947553ff9e26c2a1 |
| 1208 |
msgid "Here is an example for 5 colors:" |
| 1209 |
msgstr "以下は5つの色の例です。" |
| 1210 |
|
| 1211 |
#: ../../shape.rst:502 3cf653254d684532a9c3aba1c78bfd12 |
| 1212 |
msgid "" |
| 1213 |
"Create a regular n-edged polygon (fill yellow, red border). We use " |
| 1214 |
"*draw_sector()* only to calculate the points on the circumference, and " |
| 1215 |
"empty the draw command buffer again before drawing the polygon::" |
| 1216 |
msgstr "" |
| 1217 |
"正則なn角形を作成します(塗りつぶしは黄色、赤い境界線)。周囲の点を計算するために *draw_sector()* " |
| 1218 |
"を使用し、多角形を描く前に描画コマンドバッファを空にします::" |
| 1219 |
|
| 1220 |
#: ../../shape.rst:517 e093071b33a14f6ca8a50b7e9ef6d3b1 |
| 1221 |
msgid "Here is the polygon for n = 7:" |
| 1222 |
msgstr "n = 7の場合の多角形は次のとおりです:" |
| 1223 |
|
| 1224 |
#: ../../shape.rst:524 32cfdbeb116244d09f20318c9cbaa2ac |
| 1225 |
msgid "Common Parameters" |
| 1226 |
msgstr "共通パラメータ" |
| 1227 |
|
| 1228 |
#: ../../shape.rst:526 e8e32aa90b154bf9b1f9186f60ab584a |
| 1229 |
msgid "**fontname** (*str*)" |
| 1230 |
msgstr "" |
| 1231 |
|
| 1232 |
#: ../../shape.rst:528 77ba86666bd24c11b1d1d22120f706a7 |
| 1233 |
msgid "In general, there are three options:" |
| 1234 |
msgstr "一般的に、3つのオプションがあります:" |
| 1235 |
|
| 1236 |
#: ../../shape.rst:530 02905b80e6194c4eacf48669a2b4862d |
| 1237 |
msgid "" |
| 1238 |
"Use one of the standard :ref:`Base-14-Fonts`. In this case, *fontfile* " |
| 1239 |
"**must not** be specified and *\"Helvetica\"* is used if this parameter " |
| 1240 |
"is omitted, too." |
| 1241 |
msgstr "" |
| 1242 |
"標準の :ref:`Base-14-Fonts` のいずれかを使用します。この場合、*fontfile* を指定 " |
| 1243 |
"**してはいけず**、このパラメータを省略した場合は *「Helvetica」* が使用されます。" |
| 1244 |
|
| 1245 |
#: ../../shape.rst:531 e643b83ac7934c6a8daf143d5e6ea969 |
| 1246 |
msgid "" |
| 1247 |
"Choose a font already in use by the page. Then specify its **reference** " |
| 1248 |
"name prefixed with a slash \"/\", see example below." |
| 1249 |
msgstr "既にページで使用されているフォントを選択します。その場合、スラッシュ「/」で前置された **参照** 名を指定します。以下の例を参照してください。" |
| 1250 |
|
| 1251 |
#: ../../shape.rst:532 1aa96eb291154994b5334cb249b357b8 |
| 1252 |
msgid "" |
| 1253 |
"Specify a font file present on your system. In this case choose an " |
| 1254 |
"arbitrary, but new name for this parameter (without \"/\" prefix)." |
| 1255 |
msgstr "システムに存在するフォントファイルを指定します。この場合、任意の新しい名前をこのパラメータに選択します(「/」接頭辞なし)。" |
| 1256 |
|
| 1257 |
#: ../../shape.rst:534 42e52261eb524d2984f6a0c4332a2f24 |
| 1258 |
msgid "" |
| 1259 |
"If inserted text should re-use one of the page's fonts, use its reference" |
| 1260 |
" name appearing in :meth:`Page.get_fonts` like so:" |
| 1261 |
msgstr "" |
| 1262 |
"挿入されるテキストがページのフォントの1つを再利用する場合は、:meth:`Page.get_fonts` " |
| 1263 |
"に表示される参照名を次のように使用します:" |
| 1264 |
|
| 1265 |
#: ../../shape.rst:536 17c14b3525c343518ae06671819af5b8 |
| 1266 |
msgid "" |
| 1267 |
"Suppose the font list has the item *[1024, 0, 'Type1', 'NimbusMonL-Bold'," |
| 1268 |
" 'R366']*, then specify *fontname = \"/R366\", fontfile = None* to use " |
| 1269 |
"font *NimbusMonL-Bold*." |
| 1270 |
msgstr "" |
| 1271 |
"フォントリストに項目 *[1024, 0, 'Type1', 'NimbusMonL-Bold', 'R366']* がある場合、フォント " |
| 1272 |
"*NimbusMonL-Bold* を使用するには、*fontname = \"/R366\"、fontfile = None* と指定します。" |
| 1273 |
|
| 1274 |
#: ../../shape.rst:540 30272688bae040099e4f10745899bb73 |
| 1275 |
msgid "**fontfile** (*str*)" |
| 1276 |
msgstr "" |
| 1277 |
|
| 1278 |
#: ../../shape.rst:542 c86a2afe0b8040a3841ecc108e5f0c2a |
| 1279 |
msgid "" |
| 1280 |
"File path of a font existing on your computer. If you specify *fontfile*," |
| 1281 |
" make sure you use a *fontname* **not occurring** in the above list. This" |
| 1282 |
" new font will be embedded in the PDF upon *doc.save()*. Similar to new " |
| 1283 |
"images, a font file will be embedded only once. A table of MD5 codes for " |
| 1284 |
"the binary font contents is used to ensure this." |
| 1285 |
msgstr "" |
| 1286 |
"コンピューターに存在するフォントのファイルパス。*fontfile* を指定する場合、上記のリストに **存在しない** *フォント名* " |
| 1287 |
"を使用してください。この新しいフォントは、*doc.save()* " |
| 1288 |
"時にPDFに埋め込まれます。画像と同様に、フォントファイルは1度だけ埋め込まれます。バイナリフォントコンテンツのMD5コードのテーブルが使用され、これを確実にします。" |
| 1289 |
|
| 1290 |
#: ../../shape.rst:546 de497e62ab204c48ae01fa7ac3ed1c32 |
| 1291 |
msgid "**set_simple** (*bool*)" |
| 1292 |
msgstr "" |
| 1293 |
|
| 1294 |
#: ../../shape.rst:548 8620026ea526446e8ef1ca19f9760737 |
| 1295 |
msgid "" |
| 1296 |
"Fonts installed from files are installed as **Type0** fonts by default. " |
| 1297 |
"If you want to use 1-byte characters only, set this to true. This setting" |
| 1298 |
" cannot be reverted. Subsequent changes are ignored." |
| 1299 |
msgstr "" |
| 1300 |
"ファイルからインストールされたフォントは、デフォルトで **Type0** " |
| 1301 |
"フォントとしてインストールされます。1バイト文字のみを使用する場合は、これをtrueに設定します。この設定は元に戻すことはできません。後続の変更は無視されます。" |
| 1302 |
|
| 1303 |
#: ../../shape.rst:552 3981f48a75204dc09ff6f422f689ffa4 |
| 1304 |
msgid "**fontsize** (*float*)" |
| 1305 |
msgstr "" |
| 1306 |
|
| 1307 |
#: ../../shape.rst:554 30ac30c13b44417bbeb1b66ed6d98114 |
| 1308 |
msgid "Font size of text, see: :data:`fontsize`." |
| 1309 |
msgstr "テキストのフォントサイズ、参照: :data:`fontsize`。" |
| 1310 |
|
| 1311 |
#: ../../shape.rst:558 4d0dc80686d94b4c88776c39286aa523 |
| 1312 |
msgid "**dashes** (*str*)" |
| 1313 |
msgstr "" |
| 1314 |
|
| 1315 |
#: ../../shape.rst:560 47655eea2c2e46188c15bd1c75c4117a |
| 1316 |
#, fuzzy |
| 1317 |
msgid "" |
| 1318 |
"Causes lines to be drawn dashed. The general format is `\"[n m] p\"` of " |
| 1319 |
"(up to) 3 floats denoting pixel lengths. ``n`` is the dash length, ``m`` " |
| 1320 |
"(optional) is the subsequent gap length, and ``p`` (the \"phase\" - " |
| 1321 |
"**required**, even if 0!) specifies how many pixels should be skipped " |
| 1322 |
"before the dashing starts. If ``m`` is omitted, it defaults to ``n``." |
| 1323 |
msgstr "" |
| 1324 |
"線を破線で描画するようにします。一般的なフォーマットは、ピクセル長を示す(最大)3つの浮動小数点数の `\"[n m] p\"` です。``n``" |
| 1325 |
" は破線の長さ、``m`` (オプション)はその後のギャップの長さ、 ``p`` (「位相」 - 0であっても " |
| 1326 |
"**必須**!)は、破線が開始される前にスキップするべきピクセルの数を指定します。``m`` が省略された場合、``n`` " |
| 1327 |
"にデフォルト値が設定されます。" |
| 1328 |
|
| 1329 |
#: ../../shape.rst:562 c003ae76596a4f938a7fd5de9cb061a3 |
| 1330 |
msgid "" |
| 1331 |
"A continuous line (no dashes) is drawn with `\"[] 0\"` or ``None`` or " |
| 1332 |
"`\"\"`. Examples:" |
| 1333 |
msgstr "連続線(破線なし)は `\"[] 0\"` または ``None`` または `\"\"` で描画されます。例:" |
| 1334 |
|
| 1335 |
#: ../../shape.rst:564 e6cbda6711694eb8b100b5a9792385ef |
| 1336 |
msgid "" |
| 1337 |
"Specifying `\"[3 4] 0\"` means dashes of 3 and gaps of 4 pixels following" |
| 1338 |
" each other." |
| 1339 |
msgstr "`\"[3 4] 0\"` を指定すると、3ピクセルの破線と4ピクセルのギャップが交互に続きます。" |
| 1340 |
|
| 1341 |
#: ../../shape.rst:565 3391c97c4550433782ec215117a6557d |
| 1342 |
msgid "`\"[3 3] 0\"` and `\"[3] 0\"` do the same thing." |
| 1343 |
msgstr "`\"[3 3] 0\"` と `\"[3] 0\"` は同じことをします。" |
| 1344 |
|
| 1345 |
#: ../../shape.rst:567 f068a3fa466545ecaf2d248a20fc2739 |
| 1346 |
msgid "" |
| 1347 |
"For (the rather complex) details on how to achieve sophisticated dashing " |
| 1348 |
"effects, see :ref:`AdobeManual`, page 217." |
| 1349 |
msgstr "洗練された破線効果を実現する詳細な詳細については、:ref:`AdobeManual` の217ページを参照してください。" |
| 1350 |
|
| 1351 |
#: ../../shape.rst:571 82aa9894181a4fe3b697261487bbfe7e |
| 1352 |
msgid "**color / fill** (*list, tuple*)" |
| 1353 |
msgstr "**色/塗りつぶし** (*リスト、タプル*)" |
| 1354 |
|
| 1355 |
#: ../../shape.rst:573 3ed2643ec6df4cc28a73683cb286285e |
| 1356 |
msgid "" |
| 1357 |
"Stroke and fill colors can be specified as tuples or list of of floats " |
| 1358 |
"from 0 to 1. These sequences must have a length of 1 (GRAY), 3 (RGB) or 4" |
| 1359 |
" (CMYK). For GRAY colorspace, a single float instead of the unwieldy " |
| 1360 |
"*(float,)* or *[float]* is also accepted. Accept (default) or use `None` " |
| 1361 |
"to not use the parameter." |
| 1362 |
msgstr "" |
| 1363 |
"線の色と塗りつぶしの色は、0から1までの浮動小数点数からなるリストまたはタプルとして指定できます。これらのシーケンスの長さは、1(GRAY)、3(RGB)、または4(CMYK)でなければなりません。GRAYカラースペースの場合、*[float]*" |
| 1364 |
" や*(float,)* " |
| 1365 |
"の代わりに単一の浮動小数点数を使用することもできます。このパラメータを受け入れるには、(デフォルト)を受け入れるか、または使用しないようにするには" |
| 1366 |
" `None` を使用します。" |
| 1367 |
|
| 1368 |
#: ../../shape.rst:575 06bd406c862d430d8527a7a38b17df9b |
| 1369 |
msgid "" |
| 1370 |
"To simplify color specification, method *getColor()* in *pymupdf.utils* " |
| 1371 |
"may be used to get predefined RGB color triples by name. It accepts a " |
| 1372 |
"string as the name of the color and returns the corresponding triple. The" |
| 1373 |
" method knows over 540 color names -- see section :ref:`ColorDatabase`." |
| 1374 |
msgstr "" |
| 1375 |
"色の指定を簡略化するために、*pymupdf.utils* の *getColor()* " |
| 1376 |
"メソッドを使用して、名前に対応するRGBカラートリプルを取得することができます。これは色の名前を指定する文字列を受け入れ、対応するトリプルを返します。このメソッドは540以上のカラー名を認識します。:ref:`ColorDatabase`" |
| 1377 |
" のセクションを参照してください。" |
| 1378 |
|
| 1379 |
#: ../../shape.rst:577 3313c7d4006745a8b2fc466404404f63 |
| 1380 |
msgid "" |
| 1381 |
"Please note that the term *color* usually means \"stroke\" color when " |
| 1382 |
"used in conjunction with fill color." |
| 1383 |
msgstr "ご注意ください。*色* という用語は、通常、塗りつぶし色と組み合わせて使用される場合に「線の」色を意味します" |
| 1384 |
|
| 1385 |
#: ../../shape.rst:579 0a6d8ba9500941c4bc6aa00352d41451 |
| 1386 |
msgid "" |
| 1387 |
"If letting default a color parameter to `None`, then no resp. color " |
| 1388 |
"selection command will be generated. If *fill* and *color* are both " |
| 1389 |
"`None`, then the drawing will contain no color specification. But it will" |
| 1390 |
" still be \"stroked\", which causes PDF's default color \"black\" be used" |
| 1391 |
" by Adobe Acrobat and all other viewers." |
| 1392 |
msgstr "" |
| 1393 |
"色パラメータのデフォルト値を `None` にする場合、対応する色の選択コマンドは生成されません。*fill* と *color* がどちらも " |
| 1394 |
"`None` の場合、描画には色の指定が含まれません。ただし、まだ「ストローク」されているため、Adobe " |
| 1395 |
"Acrobatや他のビューアではPDFのデフォルトカラー「ブラック」が使用されます。" |
| 1396 |
|
| 1397 |
#: ../../shape.rst:583 2e5246304d274dfaa37af742928af0ea |
| 1398 |
#, fuzzy |
| 1399 |
msgid "**width** (*float*)" |
| 1400 |
msgstr "**border_width** (*浮動小数点数*)" |
| 1401 |
|
| 1402 |
#: ../../shape.rst:585 77b8db9870114d7f91f971f5aaa99512 |
| 1403 |
msgid "" |
| 1404 |
"The stroke (\"border\") width of the elements in a shape (if applicable)." |
| 1405 |
" The default value is 1. The values width, color and fill have the " |
| 1406 |
"following relationship / dependency:" |
| 1407 |
msgstr "図形内の要素のストローク(\"枠線\")の幅(適用可能な場合)。デフォルト値は1です。幅、色、塗りつぶしの値は、以下の関係/依存関係を持ちます:" |
| 1408 |
|
| 1409 |
#: ../../shape.rst:587 bd3f3d47979d4ba6967fc689176d7873 |
| 1410 |
msgid "" |
| 1411 |
"If `fill=None` shape elements will always be drawn with a border - even " |
| 1412 |
"if `color=None` (in which case black is taken) or `width=0` (in which " |
| 1413 |
"case 1 is taken)." |
| 1414 |
msgstr "" |
| 1415 |
"`fill=None` の場合、shape要素は常に枠線で描画されます - `color=None` " |
| 1416 |
"の場合(その場合、黒が使用されます)、または `width=0` の場合(その場合、1が使用されます)でもです。" |
| 1417 |
|
| 1418 |
#: ../../shape.rst:588 50e316e85bee43f3ae23b6e8bf36459e |
| 1419 |
#, fuzzy |
| 1420 |
msgid "" |
| 1421 |
"Shapes without border can only be achieved if a fill color is specified " |
| 1422 |
"(which may be white of course). To achieve this, specify `width=0`. In " |
| 1423 |
"this case, the ``color`` parameter is ignored." |
| 1424 |
msgstr "" |
| 1425 |
"枠線のない図形は、塗りつぶしの色が指定されている場合のみ実現できます(もちろん白色であっても構いません)。これを実現するには、 `width=0`" |
| 1426 |
" を指定します。この場合、 `color` パラメータは無視されます。" |
| 1427 |
|
| 1428 |
#: ../../shape.rst:592 dbf0b7aa242944fd9c3dba05b0a5476c |
| 1429 |
msgid "**stroke_opacity / fill_opacity** (*floats*)" |
| 1430 |
msgstr "**stroke_opacity / fill_opacity** (*浮動小数点数*)" |
| 1431 |
|
| 1432 |
#: ../../shape.rst:594 f10fd732b18e4d06882b251b866820ed |
| 1433 |
msgid "" |
| 1434 |
"Both values are floats in range [0, 1]. Negative values or values > 1 " |
| 1435 |
"will ignored (in most cases). Both set the transparency such that a value" |
| 1436 |
" 0.5 corresponds to 50% transparency, 0 means invisible and 1 means " |
| 1437 |
"intransparent. For e.g. a rectangle the stroke opacity applies to its " |
| 1438 |
"border and fill opacity to its interior." |
| 1439 |
msgstr "両方の値は[0、1]の範囲の浮動小数点数です。負の値または1を超える値は(ほとんどの場合)無視されます。両方の値は、透明度を設定し、たとえば値0.5は50%の透明度を示し、0は不可視を意味し、1は不透明を意味します。たとえば四角形の場合、stroke_opacityはその境界に、fill_opacityはその内部に適用されます。" |
| 1440 |
|
| 1441 |
#: ../../shape.rst:596 908ef08674a94047bf811e5db7824042 |
| 1442 |
#, fuzzy |
| 1443 |
msgid "" |
| 1444 |
"For text insertions (:meth:`Shape.insert_text` and " |
| 1445 |
":meth:`Shape.insert_textbox`), use *fill_opacity* for the text. At first " |
| 1446 |
"sight this seems surprising, but it becomes obvious when you look further" |
| 1447 |
" down to `render_mode`: `fill_opacity` applies to the yellow and " |
| 1448 |
"`stroke_opacity` applies to the blue color." |
| 1449 |
msgstr "" |
| 1450 |
"テキストの挿入(:meth:`Shape.insert_text` および :meth:`Shape.insert_textbox` " |
| 1451 |
")の場合、テキストには *fill_opacity* を使用してください。最初は驚くかもしれませんが、*render_mode* " |
| 1452 |
"の詳細を見ると明らかになります。*fill_opacity* は黄色に適用され、*stroke_opacity* は青色に適用されます。" |
| 1453 |
|
| 1454 |
#: ../../shape.rst:600 807dedb850524343a44713165dc92d74 |
| 1455 |
msgid "**border_width** (*float*)" |
| 1456 |
msgstr "**border_width** (*浮動小数点数*)" |
| 1457 |
|
| 1458 |
#: ../../shape.rst:602 7c05f5b49a074002a9a8e24fa16e09c0 |
| 1459 |
msgid "" |
| 1460 |
"Set the border width for text insertions. New in v1.14.9. Relevant only " |
| 1461 |
"if the render mode argument is used with a value greater zero." |
| 1462 |
msgstr "テキスト挿入の境界線の幅を設定します。v1.14.9で新しく追加されました。render_mode引数がゼロより大きい値で使用されている場合にのみ関連します。" |
| 1463 |
|
| 1464 |
#: ../../shape.rst:606 e8f74369b5414cf39c02c7bdc84d0278 |
| 1465 |
msgid "**render_mode** (*int*)" |
| 1466 |
msgstr "**render_mode** (*整数*)" |
| 1467 |
|
| 1468 |
#: ../../shape.rst:608 07e11204dc2b4479bd2e65c3e33aad8d |
| 1469 |
msgid "" |
| 1470 |
"*New in version 1.14.9:* Integer in `range(8)` which controls the text " |
| 1471 |
"appearance (:meth:`Shape.insert_text` and :meth:`Shape.insert_textbox`). " |
| 1472 |
"See page 246 in :ref:`AdobeManual`. New in v1.14.9. These methods now " |
| 1473 |
"also differentiate between fill and stroke colors." |
| 1474 |
msgstr "" |
| 1475 |
"*バージョン1.14.9で新たに導入された* `range(8)` " |
| 1476 |
"内の整数。これはテキストの外観(:meth:`Shape.insert_text` および " |
| 1477 |
":meth:`Shape.insert_textbox` )を制御します。:ref:`AdobeManual` " |
| 1478 |
"のページ246を参照してください。バージョン1.14.9での新機能です。これらのメソッドは、塗りつぶしの色とストロークの色を区別するようになりました。" |
| 1479 |
|
| 1480 |
#: ../../shape.rst:610 69a9ed429520483291966e04bc134827 |
| 1481 |
msgid "" |
| 1482 |
"For default 0, only the text fill color is used to paint the text. For " |
| 1483 |
"backward compatibility, using the *color* parameter instead also works." |
| 1484 |
msgstr "" |
| 1485 |
"デフォルト値0では、テキストの塗りつぶし色のみがテキストを塗りつぶすために使用されます。*color* " |
| 1486 |
"パラメーターを代わりに使用することも、後方互換性のために機能します。" |
| 1487 |
|
| 1488 |
#: ../../shape.rst:611 92f8238398a445de9ac634455065140b |
| 1489 |
msgid "" |
| 1490 |
"For render mode 1, only the border of each glyph (i.e. text character) is" |
| 1491 |
" drawn with a thickness as set in argument *border_width*. The color " |
| 1492 |
"chosen in the *color* argument is taken for this, the *fill* parameter is" |
| 1493 |
" ignored." |
| 1494 |
msgstr "" |
| 1495 |
"render_mode 1では、各グリフ(つまりテキスト文字)の境界線のみが指定された *border_width* " |
| 1496 |
"で描画されます。この際、*color* 引数で選択した色が使用され、*fill* パラメーターは無視されます。" |
| 1497 |
|
| 1498 |
#: ../../shape.rst:612 6dd3e1055d934657ae6fbe17f98f1b7b |
| 1499 |
msgid "" |
| 1500 |
"For render mode 2, the glyphs are filled and stroked, using both color " |
| 1501 |
"parameters and the specified border width. You can use this value to " |
| 1502 |
"simulate **bold text** without using another font: choose the same value " |
| 1503 |
"for *fill* and *color* and an appropriate value for *border_width*." |
| 1504 |
msgstr "" |
| 1505 |
"render_mode " |
| 1506 |
"2では、グリフは塗りつぶされ、ストロークされ、両方の色パラメーターと指定された境界幅が使用されます。別のフォントを使用せずに " |
| 1507 |
"**太字のテキスト** をシミュレートするためにこの値を使用できます。*fill* と *color* " |
| 1508 |
"に同じ値を選択し、*border_width* に適切な値を選択します。" |
| 1509 |
|
| 1510 |
#: ../../shape.rst:613 44ab50cc9488478cbafcd5e8d9859763 |
| 1511 |
msgid "" |
| 1512 |
"For render mode 3, the glyphs are neither stroked nor filled: the text " |
| 1513 |
"becomes invisible." |
| 1514 |
msgstr "render_mode 3では、グリフはストロークも塗りつぶしもされません。テキストは見えなくなります。" |
| 1515 |
|
| 1516 |
#: ../../shape.rst:615 e59e76826913438ea50a2cc075ab7cd2 |
| 1517 |
msgid "" |
| 1518 |
"The following examples use border_width=0.3, together with a fontsize of " |
| 1519 |
"15. Stroke color is blue and fill color is some yellow." |
| 1520 |
msgstr "以下の例では、border_width=0.3を使用し、フォントサイズは15です。ストロークの色は青で、塗りつぶしの色は黄色です。" |
| 1521 |
|
| 1522 |
#: ../../shape.rst:621 082047ee68a54ee3ae920d7817052247 |
| 1523 |
#, fuzzy |
| 1524 |
msgid "**miter_limit** (*float*)" |
| 1525 |
msgstr "**border_width** (*浮動小数点数*)" |
| 1526 |
|
| 1527 |
#: ../../shape.rst:623 5df811fb349949d38e4160fbc8097077 |
| 1528 |
msgid "" |
| 1529 |
"A float specifying the maximum acceptable value of the quotient `miter-" |
| 1530 |
"length / line-width` (\"miter quotient\"). Used in text output methods. " |
| 1531 |
"This is only relevant for non-zero render mode values -- then, characters" |
| 1532 |
" are written with border lines (i.e. \"stroked\")." |
| 1533 |
msgstr "" |
| 1534 |
|
| 1535 |
#: ../../shape.rst:625 fcdf5a0b4b05400fabcc68e71bbfe4a3 |
| 1536 |
msgid "" |
| 1537 |
"If two lines stroking some character meet at a sharp (<= 90°) angle and " |
| 1538 |
"the line width is large enough, then \"spikes\" may become visible -- " |
| 1539 |
"causing an ugly appearance as shown below. For more background, see page " |
| 1540 |
"126 of the :ref:`AdobeManual`." |
| 1541 |
msgstr "" |
| 1542 |
|
| 1543 |
#: ../../shape.rst:627 61ef12d76d4c44a5971fbe5f377e42cd |
| 1544 |
msgid "" |
| 1545 |
"For instance, when joins meet at 90°, then the miter length is ``sqrt(2) " |
| 1546 |
"* line-width``, so the miter quotient is ``sqrt(2)``." |
| 1547 |
msgstr "" |
| 1548 |
|
| 1549 |
#: ../../shape.rst:629 6e57edd425af46cab1f0544ea9fb09d6 |
| 1550 |
msgid "" |
| 1551 |
"If ``miter_limit`` is exceeded, then all joins with a larger qotient will" |
| 1552 |
" appear as beveled (\"butt\" appearance)." |
| 1553 |
msgstr "" |
| 1554 |
|
| 1555 |
#: ../../shape.rst:631 1b9c88426fad4881993b42f8df4e29ba |
| 1556 |
msgid "" |
| 1557 |
"The default value 1 (and any smaller value) will ensure that all joins " |
| 1558 |
"are rendered as a butt. A value of ``None`` will use the PDF default " |
| 1559 |
"value." |
| 1560 |
msgstr "" |
| 1561 |
|
| 1562 |
#: ../../shape.rst:633 6c5240d22b91424eb8a99f3f6cdd9e61 |
| 1563 |
msgid "Example text showing spikes (``miter_limit=None``):" |
| 1564 |
msgstr "" |
| 1565 |
|
| 1566 |
#: ../../shape.rst:637 22b2f2ab87704749865bf8654f86f486 |
| 1567 |
msgid "Example text suppressing spikes (``miter_limit=1``):" |
| 1568 |
msgstr "" |
| 1569 |
|
| 1570 |
#: ../../shape.rst:643 ef72de748a3241f494828889b778a5c3 |
| 1571 |
msgid "**overlay** (*bool*)" |
| 1572 |
msgstr "**オーバーレイ** (*bool*)" |
| 1573 |
|
| 1574 |
#: ../../shape.rst:645 1a50148614e94b0f9e09a72b981ba540 |
| 1575 |
msgid "Causes the item to appear in foreground (default) or background." |
| 1576 |
msgstr "アイテムを前景( デフォルト)または背景に表示させます。" |
| 1577 |
|
| 1578 |
#: ../../shape.rst:649 f9c30f5c9a0245e5acbf5d0126b40609 |
| 1579 |
msgid "**morph** (*sequence*)" |
| 1580 |
msgstr "**morph** (*シーケンス*)" |
| 1581 |
|
| 1582 |
#: ../../shape.rst:651 5029b952e1be402ea4aea727b6c5334a |
| 1583 |
msgid "" |
| 1584 |
"Causes \"morphing\" of either a shape, created by the *draw*()* methods, " |
| 1585 |
"or the text inserted by page methods *insert_textbox()* / " |
| 1586 |
"*insert_text()*. If not ``None``, it must be a pair *(fixpoint, matrix)*," |
| 1587 |
" where *fixpoint* is a :ref:`Point` and *matrix* is a :ref:`Matrix`. The " |
| 1588 |
"matrix can be anything except translations, i.e. *matrix.e == matrix.f ==" |
| 1589 |
" 0* must be true. The point is used as a fixed point for the matrix " |
| 1590 |
"operation. For example, if *matrix* is a rotation or scaling, then " |
| 1591 |
"*fixpoint* is its center. Similarly, if *matrix* is a left-right or up-" |
| 1592 |
"down flip, then the mirroring axis will be the vertical, respectively " |
| 1593 |
"horizontal line going through *fixpoint*, etc." |
| 1594 |
msgstr "" |
| 1595 |
"*draw*()* メソッドによって作成されたシェイプまたはページメソッド *insert_textbox()*/ *insert_text()*" |
| 1596 |
" によって挿入されたテキストのいずれかの「変形」を引き起こします。 ``None`` でない場合、*(fixpoint、matrix)* " |
| 1597 |
"のペアでなければなりません。ここで、*fixpoint* は :ref:`Point` であり、*matrix* は :ref:`Matrix` " |
| 1598 |
"です。行列は、*matrix.e == matrix.f == 0* " |
| 1599 |
"でない限り、移動以外の任意のものにすることができます。ポイントは、行列操作の固定ポイントとして使用されます。たとえば、*行列* " |
| 1600 |
"が回転またはスケーリングである場合、*fixpoint* はその中心です。同様に、*行列* が左右または上下の反転である場合、鏡像化される軸は " |
| 1601 |
"*fixpoint* を介して通る垂直、または水平の線です。" |
| 1602 |
|
| 1603 |
#: ../../shape.rst:653 b02e3c71c8f64fc68a15b90bf3c129ea |
| 1604 |
msgid "" |
| 1605 |
"Several methods contain checks whether the to be inserted items will " |
| 1606 |
"actually fit into the page (like :meth:`Shape.insert_text`, or " |
| 1607 |
":meth:`Shape.draw_rect`). For the result of a morphing operation there is" |
| 1608 |
" however no such guaranty: this is entirely the programmer's " |
| 1609 |
"responsibility." |
| 1610 |
msgstr "" |
| 1611 |
"いくつかのメソッドには、ページに挿入されるアイテムが実際に適合するかどうかをチェックする検証が含まれています(:meth:`Shape.insert_text`" |
| 1612 |
" 、または :meth:`Shape.draw_rect` " |
| 1613 |
"など)。変形操作の結果にはそのような保証はありません。これは完全にプログラマーの責任です。" |
| 1614 |
|
| 1615 |
#: ../../shape.rst:657 62281c77ca8f47188d63f20f3712a5b0 |
| 1616 |
msgid "**lineCap (deprecated: \"roundCap\")** (*int*)" |
| 1617 |
msgstr "**lineCap(非推奨:「roundCap」**)(*int*)" |
| 1618 |
|
| 1619 |
#: ../../shape.rst:659 cd5b630baa744b1189ae847e6e8286fd |
| 1620 |
msgid "" |
| 1621 |
"Controls the look of line ends. The default value 0 lets each line end at" |
| 1622 |
" exactly the given coordinate in a sharp edge. A value of 1 adds a semi-" |
| 1623 |
"circle to the ends, whose center is the end point and whose diameter is " |
| 1624 |
"the line width. Value 2 adds a semi-square with an edge length of line " |
| 1625 |
"width and a center of the line end." |
| 1626 |
msgstr "線の末端の外観を制御します。デフォルト値0は、各線の末端が鋭いエッジで正確な座標で終了することを許可します。値1は、末端に直径が線の幅で中心が末端ポイントである半円を追加します。値2は、線の幅と線の末端を中心とする辺の長さがある半正方形を追加します。" |
| 1627 |
|
| 1628 |
#: ../../shape.rst:661 6026a44a326145afa3e7a6f376a1bbf6 |
| 1629 |
msgid "*Changed in version 1.14.15*" |
| 1630 |
msgstr "" |
| 1631 |
|
| 1632 |
#: ../../shape.rst:665 2e6dced4dc3b49d0bfc6d15aba362eba |
| 1633 |
msgid "**lineJoin** (*int*)" |
| 1634 |
msgstr "" |
| 1635 |
|
| 1636 |
#: ../../shape.rst:667 66fbb0a47a7648efa567adac178985a1 |
| 1637 |
msgid "" |
| 1638 |
"*New in version 1.14.15:* Controls the way how line connections look " |
| 1639 |
"like. This may be either as a sharp edge (0), a rounded join (1), or a " |
| 1640 |
"cut-off edge (2, \"butt\")." |
| 1641 |
msgstr "" |
| 1642 |
"*バージョン1.14.15で新規追加:* " |
| 1643 |
"ラインの接続方法を制御します。これは、鋭いエッジ(0)、丸い接続(1)、または切り取られたエッジ(2、「butt」)のいずれかです。" |
| 1644 |
|
| 1645 |
#: ../../shape.rst:671 82bab1c6af0a4d169a36b68529a2ab41 |
| 1646 |
msgid "**closePath** (*bool*)" |
| 1647 |
msgstr "" |
| 1648 |
|
| 1649 |
#: ../../shape.rst:673 991347c321464275b6f78b81a2f89e09 |
| 1650 |
msgid "" |
| 1651 |
"Causes the end point of a drawing to be automatically connected with the " |
| 1652 |
"starting point (by a straight line)." |
| 1653 |
msgstr "描画の終点を自動的に始点に直線で接続させる原因となります。" |
| 1654 |
|
| 1655 |
#: ../../footer.rst:46 703f5e6cdc364cd898823615d897ea50 |
| 1656 |
msgid "This documentation covers all versions up to |version|." |
| 1657 |
msgstr "このドキュメントは |version| までのすべてのバージョンを対象としています。" |
| 1658 |
|
| 1659 |
#~ msgid "Discord logo" |
| 1660 |
#~ msgstr "" |
| 1661 |
|
| 1662 |
#~ msgid "" |
| 1663 |
#~ "a factor to override the line " |
| 1664 |
#~ "height calculated from font properties. " |
| 1665 |
#~ "If not `None`, a line height of" |
| 1666 |
#~ " `fontsize * lineheight` will be " |
| 1667 |
#~ "used. :arg int expandtabs: controls " |
| 1668 |
#~ "handling of tab characters ``\\t`` using" |
| 1669 |
#~ " the `string.expandtabs()` method **per " |
| 1670 |
#~ "each line**." |
| 1671 |
#~ msgstr "" |
| 1672 |
#~ "フォントのプロパティから計算された行の高さをオーバーライドするためのファクター。``None`` でない場合、`fontsize" |
| 1673 |
#~ " * lineheight` の行の高さが使用されます。" |
| 1674 |
|
| 1675 |
#~ msgid "arg int expandtabs" |
| 1676 |
#~ msgstr "" |
| 1677 |
|