textTabForGlyphLocation method

NSTextTab? textTabForGlyphLocation(
  1. DartCGFloat glyphLocation, {
  2. required NSWritingDirection writingDirection,
  3. required DartCGFloat maxLocation,
})

textTabForGlyphLocation:writingDirection:maxLocation:

Implementation

NSTextTab? textTabForGlyphLocation(
  DartCGFloat glyphLocation, {
  required NSWritingDirection writingDirection,
  required DartCGFloat maxLocation,
}) {
  final _ret = _objc_msgSend_16rbmlb(
    this.ref.pointer,
    _sel_textTabForGlyphLocation_writingDirection_maxLocation_,
    glyphLocation,
    writingDirection.value,
    maxLocation,
  );
  return _ret.address == 0
      ? null
      : NSTextTab.castFromPointer(_ret, retain: true, release: true);
}