-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathAQTLabel.h
26 lines (24 loc) · 936 Bytes
/
AQTLabel.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
//
// AQTLabel.h
// AquaTerm
//
// Created by ppe on Wed May 16 2001.
// Copyright (c) 2001, 2002 Aquaterm. All rights reserved.
//
#import <Foundation/Foundation.h>
#import "AQTGraphic.h"
@interface AQTLabel : AQTGraphic /*" NSObject "*/
{
id string; /*" The text (label, legend etc.) "*/
NSString *fontName;
float fontSize;
NSPoint position; /*" The position of the text "*/
float angle;
int32_t justification; /*" Justification with respect to the position of the text "*/
float shearAngle;
}
- (id)initWithAttributedString:(NSAttributedString *)aString position:(NSPoint)aPoint angle:(float)textAngle shearAngle:(float)shearAngle justification:(int32_t)justify;
- (id)initWithString:(NSString *)aString position:(NSPoint)aPoint angle:(float)textAngle shearAngle:(float)shearAngle justification:(int32_t)justify;
- (void)setFontName:(NSString *)newFontName;
- (void)setFontSize:(float)newFontSize;
@end