Unit Instance
Units API
See the Weblate's Web API documentation for detailed description of the API.
GET /api/units/223057/?format=api
{ "translation": "https://weblate.appinventor.mit.edu/api/translations/appinventor/component-info/es/?format=api", "source": "<p>A two-dimensional touch-sensitive rectangular panel on which drawing can be done and sprites can be moved.</p> <p>The <code>BackgroundColor</code>, <code>PaintColor</code>, <code>BackgroundImage</code>, <code>Width</code>, and <code>Height</code> of the Canvas can be set in either the Designer or in the Blocks Editor. The <code>Width</code> and <code>Height</code> are measured in pixels and must be positive.</p><p>Any location on the Canvas can be specified as a pair of (X, Y) values, where <ul> <li>X is the number of pixels away from the left edge of the Canvas</li><li>Y is the number of pixels away from the top edge of the Canvas</li></ul>.</p> <p>There are events to tell when and where a Canvas has been touched or a <code>Sprite</code> (<code>ImageSprite</code> or <code>Ball</code>) has been dragged. There are also methods for drawing points, lines, and circles.</p>", "previous_source": "", "target": "<p>Un panel rectangular bidimensional sensible al tacto en el que se pueden dibujar y mover sprites.</p> <p>El <code>ColorDeFondo</code>, <code>ColorDePintura</code>, <code>Imagen de fondo</code>, <code>Ancho</code> y <code>Alto</code> del lienzo se pueden configurar en el Diseñador o en el Editor de bloques. El <code>Ancho</code> y el <code>Alto</code> se miden en píxeles y deben ser positivos.</p><p>Cualquier ubicación en el lienzo se puede especificar como un par de valores (X, Y ), donde <ul> <li>X es el número de píxeles alejados del borde izquierdo del lienzo</li><li>Y es el número de píxeles alejados del borde superior del lienzo</li></ul>.</p> <p>Hay eventos para saber cuándo y dónde se ha tocado un Lienzo o un <code>Sprite</code> (<code>ImagenSprite</code> o <code>Pelota</code>) ha sido arrastrado. También existen métodos para dibujar puntos, líneas y círculos.</p>", "id_hash": 1177868880879766378, "content_hash": 1721160815748715850, "location": "", "context": "CanvasHelpStringComponentPallette", "comment": "", "flags": "", "fuzzy": false, "translated": true, "position": 12, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 125, "priority": 100, "id": 223057, "web_url": "https://weblate.appinventor.mit.edu/translate/appinventor/component-info/es/?checksum=9058a181acd34b6a", "url": "https://weblate.appinventor.mit.edu/api/units/223057/?format=api", "source_info": "https://weblate.appinventor.mit.edu/api/sources/10733/?format=api" }