Skip to content

Commit eb4aac8

Browse files
committed
chore: Remove angle brackets from dartdocs
1 parent 4914509 commit eb4aac8

21 files changed

+49
-48
lines changed

packages/tiled/lib/src/chunk.dart

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import 'package:tiled/tiled.dart';
33
/// Below is Tiled's documentation about how this structure is represented
44
/// on XML files:
55
///
6-
/// <chunk>
6+
/// `<chunk>`
77
///
88
/// * x: The x coordinate of the chunk in tiles.
99
/// * y: The y coordinate of the chunk in tiles.
@@ -26,10 +26,11 @@ class Chunk {
2626
int width;
2727
int height;
2828

29-
/// This is not part of the tiled definitions; this is just a convinient
29+
/// This is not part of the tiled definitions; this is just a convenient
3030
/// wrapper over the [data] field that simplifies two things:
3131
///
32-
/// * represents the matrix as a matrix (List<List<X>>) instead of a flat list
32+
/// * represents the matrix as a matrix (`List<List<X>>`) instead of a flat
33+
/// list
3334
/// * wraps the gid integer into the [Gid] class for easy access of properties
3435
List<List<Gid>> tileData;
3536

packages/tiled/lib/src/common/frame.dart

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@ import 'package:tiled/src/parser.dart';
33
/// Below is Tiled's documentation about how this structure is represented
44
/// on XML files:
55
///
6-
/// <frame>
6+
/// `<frame>`
77
///
8-
/// * tileid: The local ID of a tile within the parent <tileset>.
8+
/// * tileid: The local ID of a tile within the parent `<tileset>`.
99
/// * duration: How long (in milliseconds) this frame should be displayed
1010
/// before advancing to the next frame.
1111
class Frame {

packages/tiled/lib/src/common/point.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import 'package:tiled/src/parser.dart';
33
/// Below is Tiled's documentation about how this structure is represented
44
/// on XML files:
55
///
6-
/// <point>
6+
/// `<point>`
77
/// Used to mark an object as a point.
88
/// The existing x and y attributes are used to determine the position of the
99
/// point.

packages/tiled/lib/src/common/property.dart

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import 'package:xml/xml.dart';
55
/// Below is Tiled's documentation about how this structure is represented
66
/// on XML files:
77
///
8-
/// <property>
8+
/// `<property>`
99
/// * name: The name of the property.
1010
/// * type: The type of the property.
1111
/// Can be string (default), int, float, bool, color, file or object
@@ -79,7 +79,7 @@ class Property<T> {
7979
return attrString;
8080
} else {
8181
// In tmx files, multi-line text property values can be stored
82-
// inside the <property> node itself instead of in the 'value'
82+
// inside the `<property>` node itself instead of in the 'value'
8383
// attribute
8484
return xml.element.innerText;
8585
}

packages/tiled/lib/src/common/tiled_image.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import 'package:tiled/src/parser.dart';
44
/// Below is Tiled's documentation about how this structure is represented
55
/// on XML files:
66
///
7-
/// <image>
7+
/// `<image>`
88
///
99
/// * format: Used for embedded images, in combination with a data child
1010
/// element.

packages/tiled/lib/src/editor_setting/chunk_size.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import 'package:tiled/src/parser.dart';
33
/// Below is Tiled's documentation about how this structure is represented
44
/// on XML files:
55
///
6-
/// <chunksize>
6+
/// `<chunksize>`
77
///
88
/// * width: The width of chunks used for infinite maps (default to 16).
99
/// * height: The width of chunks used for infinite maps (default to 16).

packages/tiled/lib/src/editor_setting/editor_setting.dart

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,11 @@ import 'package:tiled/tiled.dart';
33
/// Below is Tiled's documentation about how this structure is represented
44
/// on XML files:
55
///
6-
/// <editorsettings>
6+
/// `<editorsettings>`
77
/// This element contains various editor-specific settings,
88
/// which are generally not relevant when reading a map.
99
///
10-
/// Can contain: <chunksize>, <export>
10+
/// Can contain: `<chunksize>`, `<export>`
1111
class EditorSetting {
1212
ChunkSize? chunkSize;
1313
Export? export;

packages/tiled/lib/src/editor_setting/export.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import 'package:tiled/src/parser.dart';
33
/// Below is Tiled's documentation about how this structure is represented
44
/// on XML files:
55
///
6-
/// <export>
6+
/// `<export>`
77
///
88
/// * target: The last file this map was exported to.
99
/// * format: The short name of the last format this map was exported as.

packages/tiled/lib/src/layer.dart

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ import 'package:xml/xml.dart';
88
/// Below is Tiled's documentation about how this structure is represented
99
/// on XML files:
1010
///
11-
/// All <tileset> tags shall occur before the first <layer> tag so that parsers
12-
/// may rely on having the tilesets before needing to resolve tiles.
11+
/// All `<tileset>` tags shall occur before the first `<layer>` tag so that
12+
/// parsers may rely on having the tilesets before needing to resolve tiles.
1313
///
1414
/// * id: Unique ID of the layer. Each layer that added to a map gets a unique
1515
/// id. Even if a layer is deleted, no layer ever gets the same ID.
@@ -36,7 +36,7 @@ import 'package:xml/xml.dart';
3636
/// * parallaxy: Vertical parallax factor for this layer.
3737
/// Defaults to 1. (since 1.5)
3838
///
39-
/// Can contain at most one: <properties>, <data>
39+
/// Can contain at most one: `<properties>`, `<data>`
4040
abstract class Layer {
4141
/// Incremental ID - unique across all layers
4242
int? id;

packages/tiled/lib/src/objects/text.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import 'package:tiled/tiled.dart';
33
/// Below is Tiled's documentation about how this structure is represented
44
/// on XML files:
55
///
6-
/// <text>
6+
/// `<text>`
77
///
88
/// * fontfamily: The font family used (defaults to "sans-serif")
99
/// * pixelsize: The size of the font in pixels (not using points, because

0 commit comments

Comments
 (0)