FPoint
Mojo struct 🡭
FPoint
@memory_only
struct FPointA floating-point 2D coordinate: the sub-pixel counterpart of Point, and what every anti-aliased path/arc sampler carries through to the coverage sweep.
Fields
- x (
Float64) - y (
Float64)
Implemented traits
AnyType, Copyable, Deinitable, ImplicitlyCopyable, Movable
Methods
__init__
fn def __init__(out self, x: Float64, y: Float64)A floating-point 2D coordinate.
Args:
- x (
Float64): Column, sub-pixel precision. - y (
Float64): Row, sub-pixel precision. - self (
Self)
Returns:
Self