NSFontMatrixAttribute property

DartCADynamicRange get NSFontMatrixAttribute

Implementation

DartNSFontDescriptorAttributeName get NSFontMatrixAttribute =>
    objc.NSString.castFromPointer(
      _NSFontMatrixAttribute.value,
      retain: true,
      release: true,
    );
set NSFontMatrixAttribute (DartNSFontDescriptorAttributeName value)

Implementation

set NSFontMatrixAttribute(DartNSFontDescriptorAttributeName value) {
  objc.NSString.castFromPointer(
    _NSFontMatrixAttribute.value,
    retain: false,
    release: true,
  ).ref.release();
  _NSFontMatrixAttribute.value = value.ref.retainAndReturnPointer();
}