This is an alternative site for discovering Elm packages. You may be looking for the official Elm package site instead.

Composer.Geometry.Size

A type to describe 2d sizes, containing width and height.

type alias Size = { width : Float , height : Float }
zero : Size

A size with all the dimensions set to zero.

module Composer.Geometry.Size exposing (Size, zero)

{-| A type to describe 2d sizes, containing width and height.

@docs Size, zero

-}


{-| -}
type alias Size =
    { width : Float
    , height : Float
    }


{-| A size with all the dimensions set to zero.
-}
zero : Size
zero =
    { width = 0
    , height = 0
    }