Instance Method
verticalShift(_:otherShifts:) verticalShift:otherShifts: verticalShift_otherShifts_
Shifts layer content vertically while compensating components for shifts of their base glyphs.
Declaration
func verticalShift(_ shift: CGFloat, otherShifts: [String : NSValue]?)Declaration
- (void) verticalShift:(CGFloat) shift otherShifts:(NSDictionary<NSString *,NSValue *> *) otherShifts;Declaration
verticalShift_otherShifts_(shift: float, otherShifts: dict[str, NSValue])Parameters
shiftThe vertical displacement in layer coordinates.
otherShiftsBase glyph names mapped to their simultaneous displacement vectors.
See Also
Shifting Content
Shifts layer content horizontally while compensating components for shifts of their base glyphs.
Moves the shapes, anchors, guides, and background image by an offset.