Skip to content

How to set the proper Solid fill? #1658

Answered by grumd
StephanMeijer asked this question in Q&A
Discussion options

You must be logged in to vote

fgColor is the color of your filling. you only need to specify fgColor if you're using solid

this is how you fill with red color:

{
  type: 'pattern',
  pattern: 'solid',
  fgColor: { argb:'FFFF0000' }
};

Replies: 6 comments 4 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@AK221997
Comment options

Comment options

You must be logged in to vote
3 replies
@AK221997
Comment options

@grumd
Comment options

@gersonmlb
Comment options

Answer selected by Siemienik
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
8 participants
Converted from issue

This discussion was converted from issue #272 on April 11, 2021 10:22.