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

Image

Options

defaultOptions : Options {}
{ defaultColor = 0x00FFFF00
, order = RightDown
}
type alias Options a = { a | defaultColor : Int , order : Order }
type Order = RightDown | RightUp | LeftDown | LeftUp

Pixel render order in image

module Image exposing (Order(..), Options, defaultOptions)

{-|


# Options

@docs defaultOptions, Options, Order

-}


{-| Pixel render order in image
-}
type Order
    = RightDown
    | RightUp
    | LeftDown
    | LeftUp


{-| -}
type alias Options a =
    { a
        | defaultColor : Int
        , order : Order
    }


{-|

    { defaultColor = 0x00FFFF00
    , order = RightDown
    }
-}
defaultOptions : Options {}
defaultOptions =
    { defaultColor = 0x00FFFF00
    , order = RightDown
    }