From 1a7ae1d6693a8b23d38ef80d3b87f7cd0b4af588 Mon Sep 17 00:00:00 2001 From: Sanne Kalkman Date: Sat, 6 Nov 2021 19:03:54 +0100 Subject: [PATCH] add subheadings for consistency --- markdown/dev/reference/api/point/attr/en.md | 4 ++++ markdown/dev/reference/api/point/clone/en.md | 4 ++++ markdown/dev/reference/api/point/copy/en.md | 4 ++++ markdown/dev/reference/api/point/dist/en.md | 4 ++++ markdown/dev/reference/api/point/dx/en.md | 4 ++++ markdown/dev/reference/api/point/dy/en.md | 4 ++++ markdown/dev/reference/api/point/flipx/en.md | 4 ++++ markdown/dev/reference/api/point/flipy/en.md | 4 ++++ markdown/dev/reference/api/point/rotate/en.md | 4 ++++ markdown/dev/reference/api/point/shift/en.md | 4 ++++ markdown/dev/reference/api/point/shiftfractiontowards/en.md | 4 ++++ markdown/dev/reference/api/point/shiftoutwards/en.md | 4 ++++ markdown/dev/reference/api/point/shifttowards/en.md | 4 ++++ markdown/dev/reference/api/point/sitson/en.md | 4 ++++ markdown/dev/reference/api/point/sitsroughlyon/en.md | 4 ++++ markdown/dev/reference/api/point/translate/en.md | 4 ++++ 16 files changed, 64 insertions(+) diff --git a/markdown/dev/reference/api/point/attr/en.md b/markdown/dev/reference/api/point/attr/en.md index a97adbcbc4a..2a09a351b9f 100644 --- a/markdown/dev/reference/api/point/attr/en.md +++ b/markdown/dev/reference/api/point/attr/en.md @@ -5,6 +5,8 @@ title: Point.attr() Adds an attribute to the point, and returns the original point. Setting the third parameter to `true` will replace the value of the attribute instead of adding it. +## Point.attr() signature + ```js Point point.attr( string name, @@ -18,6 +20,8 @@ This allows you to chain different calls together as in the example below. If the third parameter is set to `true` it will call [`this.attributes.set()`](/reference/api/attributes/set/) instead, thereby overwriting the value of the attribute. +## Point.attr() example + +## Point.clone() example + +## Point.copy() example + +## Point.sitsOn() signature + ```js bool point.sitsOn(Point check) ``` +## Point.sitsOn() example + +## Point.sitsRoughlyOn() example +