Layers#
SynthTIGER Copyright (c) 2021-present NAVER Corp. MIT license
- class synthtiger.layers.Group(obj)#
- copy()#
- output(bbox=None)#
- merge()#
- property quad#
- property bbox#
- property size#
- property width#
- property height#
- property top#
- property bottom#
- property left#
- property right#
- property topleft#
- property topright#
- property bottomleft#
- property bottomright#
- property midtop#
- property midbottom#
- property midleft#
- property midright#
- property center#
- property centerx#
- property centery#
- class synthtiger.layers.Layer(image)#
- copy()#
- output(bbox=None)#
- paste(layer, mode='normal')#
- erase(layer)#
- property quad#
- property bbox#
- property size#
- property width#
- property height#
- property top#
- property bottom#
- property left#
- property right#
- property topleft#
- property topright#
- property bottomleft#
- property bottomright#
- property midtop#
- property midbottom#
- property midleft#
- property midright#
- property center#
- property centerx#
- property centery#
- class synthtiger.layers.RectLayer(size, color=(0, 0, 0, 255))#
- class synthtiger.layers.TextLayer(text, path, size, color=(0, 0, 0, 255), bold=False, vertical=False)#