godotengine / godotengine/godot-docs

Small question, do ALL canvas only support floats for XY(Z) positioning, widths, etc.

Open
#4,480 8 comments 0 reactions 0 assignees View on GitHub
area:class reference enhancement
Dominant language
reStructuredText
Stars
5.7k
Forks
3.8k
Avg merge
1d 20h
Merged PRs (30d)
25

Description

I check out the [canvas documentations](https://docs.godotengine.org/en/stable/classes/class_canvasitem.html) and it seems that only floating point are supported, despite [Vector2i](https://docs.godotengine.org/en/latest/classes/class_vector2i.html) and [Vector3i](https://docs.godotengine.org/en/latest/classes/class_vector3i.html) exists. For vector2i, the units are in pixels, not sure if godot allows values to be halfway between pixels.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.