Messing with NSAttributedText
Messing with NSAttributedText
- Subject: Messing with NSAttributedText
- From: email@hidden
- Date: Mon, 25 Jun 2001 14:54:49 -0700
I have an NSTextView with Attributed Text in it. I currently
programmatically change the color of the text, but I do not know how to
change the baseline/kerning/etc.
For example, say I wanted to make text in an RTF zig zag up and down by
changing the baseline of the characters to 5, 4, 3, 2, 1, 0, -1, -2, -3,
-4, 5 and back over and over again instead of having the user change the
baseline manually dozens of times.
Thanks in advance,
Mike Margolis