Rémi Verschelde
1c1524a651
Bump version to 4.1-dev
...
Can't stop, won't stop, they said, huh?
2023-03-01 01:44:37 +01:00
Raul Santos
7eb8325180
Fix C# examples in documentation
...
- Fix documentation after C# renames.
- Add missing `partial` in C# class declarations.
- Change `delta` parameter type to `double` in C#.
- Ensure parameters match base declaration.
- Use `$` string interpolation in C#.
- Fix invalid or outdated C# code.
- Changed some examples to follow our style guide more closely.
2023-01-31 19:04:07 +01:00
Mansur Isaev
623e23c625
Add method bind for `Geometry2D.decompose_polygon_in_convex`
2022-09-21 09:40:03 +04:00
Marc Gilleron
700bb066e0
Use `Vector2i` when returning atlas size in `Geometry2D::make_atlas`
2022-09-19 11:37:02 +01:00
kobewi
1abdffe7a0
Replace Array return types with TypedArray 2
2022-08-23 23:21:32 +02:00
Andy Maloney
ea2192b99e
[doc] Use "param" instead of "code" to refer to parameters (6)
2022-08-12 12:07:53 -04:00
Yuri Sizov
c5d7115038
Rename the argument tag to param in XML documentation
2022-08-08 22:34:31 +03:00
Hakim
500766329f
Bring back Geometry2D.segment_intersects_circle
2022-08-03 17:05:21 +02:00
Rémi Verschelde
4e9640b3ec
i18n: Sync classref translations with Weblate
...
(cherry picked from commit 516d6b6bad
)
2022-07-27 16:03:34 +02:00
Hugo Locurcio
e4706ef933
Change instances of "returns an empty Variant" to "returns null" in docs
...
While "returns an empty Variant" technically valid (it's constructed
as `Variant()` in C++), "returns null" is more intuitive to users.
2022-05-29 20:12:32 +02:00
Rémi Verschelde
002ab10608
Merge pull request #57664 from skyace65/TriangulateInfo
...
Add more information on triangulate polygon
2022-02-22 22:06:16 +01:00
Hugo Locurcio
b68dd2e189
Add an XML schema for documentation
...
This makes it easier to spot syntax errors when editing the
class reference. The schema is referenced locally so validation
can still work offline.
Each class XML's schema conformance is also checked on GitHub Actions.
2022-02-15 00:03:31 +01:00
skyace65
bcc4d26c48
Add more information on triangulate polygon
2022-02-05 10:49:25 -05:00
Rémi Verschelde
7adf4cc9b5
doc: Use self-closing tags for `return` and `argument`
...
For the time being we don't support writing a description for those, preferring
having all details in the method's description.
Using self-closing tags saves half the lines, and prevents contributors from
thinking that they should write the argument or return documentation there.
2021-07-30 15:29:52 +02:00
RoniPerson
8f01c261f2
changed description of `merge_polygons`
...
Clarified that the `merge_polygons` method can produce multiple holes.
2021-04-17 15:20:49 +02:00
Marcus Brummer
56e5ca38d7
Fixed Geometry2D::get_closest_points_between_segments docs
2020-12-12 12:45:06 +01:00
HaSa1002
5a01c2a3b0
Docs: Port Code Examples to C# (F, G, H, I, J, K, L)
...
Includes:
* File
* Geometry2D
* HashingContext
* HTTPClient
* HTTPRequest
* Image
* Input
* int
* ItemList
* JSONParseResult
* KinematicBody2D
* LineEdit
Co-authored-by: Aaron Franke <arnfranke@yahoo.com>
2020-11-25 22:15:13 +01:00
Rémi Verschelde
424cd00f8b
doc: Sync classref with current source + fixup some bindings
...
Includes various changes triggered by the refactoring of method bindings.
2020-11-04 15:38:26 +01:00
Andrii Doroshenko (Xrayez)
19b72da35d
Clarify `Geometry.offset_polygon_2d` regarding vertices translation
...
The method is used to either inflate or deflate a polygon.
For translating/transforming a polygon, use `Transform2D.xform`.
2020-07-01 17:10:21 +03:00
Andrii Doroshenko (Xrayez)
69d5de632e
Split `Geometry` singleton into `Geometry2D` and `Geometry3D`
...
Extra `_2d` suffixes are removed from 2D methods accoringly.
2020-05-27 14:28:34 +03:00