Ticket #919 (closed enhancement: fixed)

Opened 5 years ago

Last modified 5 years ago

Write soy.color.Color math functions and docs

Reported by: JonNeal Owned by: JonNeal
Priority: Medium Milestone: beta3
Component: soy.colors Version: Trunk
Keywords: Cc:

Description (last modified by ArcRiley) (diff)

implement basic math functions for soy.colors.Color (+ - * /, possibly more)

have the float values resulting from these, including >0 and negative values, displayed properly in hex values which can be reproduced (ie, #ffffff * 2) in the hex get function

add documentation with examples to the top of Color for help(soy.colors.Color), and document the properties .hex and .floats

remove the obsolete .red .green .blue and .alpha properties (replaced by floats)

Change History

comment:1 Changed 5 years ago by JonNeal

  • Priority changed from Medium to Low
  • Component changed from unknown to soy.colors

comment:2 Changed 5 years ago by ArcRiley

  • Owner ArcRiley deleted
  • Summary changed from Write soy.color documentation to Write soy.color.Color documentation

comment:3 Changed 5 years ago by ArcRiley

  • Priority changed from Low to Medium
  • Owner set to JonNeal
  • Type changed from defect to enhancement
  • Description modified (diff)
  • Summary changed from Write soy.color.Color documentation to Write soy.color.Color math functions and docs

comment:4 Changed 5 years ago by JonNeal

  • Status changed from new to closed
  • Resolution set to fixed
Note: See TracTickets for help on using tickets.