remove stroke entirely
This commit is contained in:
parent
dfbe71a19c
commit
70f2d600a7
1 changed files with 0 additions and 2 deletions
|
@ -88,7 +88,6 @@ class posterCommand extends Command {
|
|||
const FONT = './asset/times.ttf';
|
||||
const FONT_FILL = '#FFF';
|
||||
const TEXT_POS = 'center';
|
||||
const STROKE_COLOR = '#000';
|
||||
const PADDING = 40;
|
||||
|
||||
img.format(function(err, format) {
|
||||
|
@ -121,7 +120,6 @@ class posterCommand extends Command {
|
|||
.borderColor('black')
|
||||
.border(BORDER_WIDTH,BORDER_HEIGHT)
|
||||
.fill(FONT_FILL)
|
||||
.stroke(STROKE_COLOR)
|
||||
.font(FONT, FONT_SIZE1)
|
||||
.drawText(0, TOP_POS, TOP_TEXT, TEXT_POS)
|
||||
.font(FONT, FONT_SIZE2)
|
||||
|
|
Loading…
Reference in a new issue