Skip to content

Commit 75ea246

Browse files
committed
Updating description, news and figures
1 parent 5d12c19 commit 75ea246

File tree

4 files changed

+19
-2
lines changed

4 files changed

+19
-2
lines changed

DESCRIPTION

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Package: shades
2-
Version: 1.1.0
3-
Date: 2018-02-06
2+
Version: 1.2.0
3+
Date: 2018-04-26
44
Title: Simple Colour Manipulation
55
Author: Jon Clayden
66
Maintainer: Jon Clayden <code@clayden.org>

NEWS

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,23 @@ Significant changes to the shades package are laid out below for each release.
22

33
===============================================================================
44

5+
VERSION 1.2.0
6+
7+
- There is now support for transparency, which can be queried or modified
8+
through the new opacity() function, which functions just like the other
9+
colour property functions (#4). Opacity (alpha) values are stored as an
10+
attribute with shade objects, and reflected in the RGB hex representation
11+
only when less than 1.
12+
- The scalefac() functional has been added, which multiplies its argument just
13+
as delta() adds it. Both functions now accept, and concatenate, multiple
14+
arguments for convenience.
15+
- The usual behaviour of the colour property manipulation functions, which
16+
vectorise over both arguments, can be suppressed by wrapping replacement
17+
values with the recycle() function, which reverts to a standard R
18+
"recycling" scheme with final dimensions matching the original.
19+
20+
===============================================================================
21+
522
VERSION 1.1.0
623

724
- The dichromat() function now offers a pass-through (normal colour vision)

tools/figures/ggplot-1.png

6.3 KB
Loading

tools/figures/ggplot-2.png

5.42 KB
Loading

0 commit comments

Comments
 (0)