Corex.Point (Corex v0.1.0-beta.3)

View Source

Two-dimensional point as numeric x and y.

Summary

Types

t()

@type t() :: %Corex.Point{x: number(), y: number()}

Functions

to_map(arg1)

@spec to_map(t() | %{x: number(), y: number()} | nil) ::
  %{x: number(), y: number()} | nil