Reference 〉 Class

Breed()

Stores data on registered breeds. Should not be instantiated directly; instead, use model.addBreed(). The properties of the Breed object correspond to the arguments of that function.

Object Properties

  • color Color

    A Color object storing the color used to plot the breed. This can be passed instead of a hex value in most places that take a color as an argument.

  • color2 Color

    A lighter color used for secondary plotting.

Notes and Examples

  1. Contribute a Note

    Your email address will not be published. Required fields are marked *

    You may use limited HTML for formatting. Please embed blocks of code in <pre><code> </code></pre> tags.