If i use TrimBrush() with empty brush hollywood return error
Is there a function to know if the brush is empty ?
Code: Select all
CreateBrush(1,50,50,#BLACK, {AlphaChannel = True, Clear = True})
Local X,Y =TrimBrush(1)
Debugprint(X,Y)
Code: Select all
CreateBrush(1,50,50,#BLACK, {AlphaChannel = True, Clear = True})
Local X,Y =TrimBrush(1)
Debugprint(X,Y)
Code: Select all
- New: Added IsBrushEmpty() function; this returns TRUE in case a brush has an alpha channel or a
mask and all pixels are invisible