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:
parent
d01cc9875f
commit
6726a0b33c
2 changed files with 25 additions and 1 deletions
24
Readme.md
24
Readme.md
|
@ -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
Loading…
Reference in a new issue