0
Fork 0
mirror of https://github.com/fastmail/Squire.git synced 2024-12-22 07:13:08 -05:00

Update documentation with new colour API.

This commit is contained in:
Neil Jenkins 2011-11-09 15:44:18 +11:00
parent d01cc9875f
commit 6726a0b33c
2 changed files with 25 additions and 1 deletions

View file

@ -251,6 +251,30 @@ Sets the font size for the selected text.
Returns self.
### setTextColour ###
Sets the colour of the selected text.
#### Parameters ####
* **colour**: The colour to set. Any CSS colour value is accepted, e.g. '#f00', or 'hsl(0,0,0)'.
#### Returns ####
Returns self.
### setHighlightColour ###
Sets the colour of the background of the selected text.
#### Parameters ####
* **colour**: The colour to set. Any CSS colour value is accepted, e.g. '#f00', or 'hsl(0,0,0)'.
#### Returns ####
Returns self.
### setTextAlignment ###
Sets the text alignment in all blocks at least partially contained by the selection.

File diff suppressed because one or more lines are too long