You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Since v6, Markers can only be aligned relatively (on a scale of 0-1) through Alignment. It would be good for there to be an alternative constructor that takes a number of pixels from each edge, and the size of the Marker, and calculates the relative Alignment.
What other alternatives are available?
As an example, given the width (w) and number of pixels to offset from the left (d), the formula 1.0 - 2 * d / w can be used, as suggested by @Zverik in #1659 (comment).
Can you provide any other information?
No response
Severity
Annoying: Currently have to use workarounds
The text was updated successfully, but these errors were encountered:
JaffaKetchup
changed the title
[FEATURE] Add named constructor to Markers to allow absolute positioning
[FEATURE] (Re-)Support absolute Marker alignment
Mar 12, 2024
What do you want implemented?
Since v6,
Marker
s can only be aligned relatively (on a scale of 0-1) throughAlignment
. It would be good for there to be an alternative constructor that takes a number of pixels from each edge, and the size of theMarker
, and calculates the relativeAlignment
.What other alternatives are available?
As an example, given the width (
w
) and number of pixels to offset from the left (d
), the formula1.0 - 2 * d / w
can be used, as suggested by @Zverik in #1659 (comment).Can you provide any other information?
No response
Severity
Annoying: Currently have to use workarounds
The text was updated successfully, but these errors were encountered: