Skip to content
Glyphs
  • Python
  • Core:
  • Objective-C
  • Swift
  • Python
  • GlyphsCore
    • GSDrawSlice
      • bounds
  1. GlyphsCore
  2. GSDrawSlice

Instance Method

bounds()boundsbounds

The bounds of the slice.

Declaration

func bounds() -> CGRect

Declaration

- (CGRect) bounds;

Declaration

bounds() -> CGRect

Discussion

Provided subtractionMasksGSDrawStackFeatureSubtractionMasksGSDrawStackFeatureSubtractionMasks or intersectionMasksGSDrawStackFeatureIntersectionMasksGSDrawStackFeatureIntersectionMasks is supported, masks do not affect these bounds.

CGRectNull if there are no concrete bounds for the slice.