Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
Some border styles not implemented #10
The following border-style values are not yet honored when redrawing the border for the purposes of rounding corners:
All of these styles require shifting the border-color, so we will need to add an method for doing that to the Color class. This will also require a way to convert named colors to numeric values which can be shifted.
In case anyone stumbles across this looking for how to do something similar, it turns out VML has the native capability of performing color manipulation, so this did not require any special JS logic to implement the darkening/lightening of colors. You just have to add a "lighten(n)" or "darken(n)" to the end of the color value string. See http://msdn.microsoft.com/en-us/library/bb250525%28v=vs.85%29.aspx#color.adjustments