David,
This seems right. Is it now working?
Vincent.
David Anderson wrote:
>
> I have an AttributedString named styledText that sets a bunch of attributes.
> What is the proper syntax for inserting it into this method? I can't seem to
> find the correct syntax.
>
> TextLayer textLayer = new TextLayer(cmp,
> new AttributedString[]{styledText},
> new FillRenderer(textColor),
> new Position(Anchor.CENTER, 2000,
> 2000),
> size.width,
> TextAlignment.CENTER);
>
> David Anderson
> User Interface Design Engineer
>
> A picture is worth a thousand words...
>
> ===========================================================================
> To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
> of the message "signoff JAVA2D-INTEREST". For general help, send email to
> [EMAIL PROTECTED] and include in the body of the message "help".
===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff JAVA2D-INTEREST". For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".