Project

General

Profile

Download (923 Bytes) Statistics
| Branch: | Tag: | Revision:
1
/*******************************************************************************
2
 * Copyright (c) 2003, 2010 IBM Corporation and others.
3
 * All rights reserved. This program and the accompanying materials
4
 * are made available under the terms of the Eclipse Public License v1.0
5
 * which accompanies this distribution, and is available at
6
 * http://www.eclipse.org/legal/epl-v10.html
7
 *
8
 * Contributors:
9
 *     IBM Corporation - initial API and implementation
10
 *******************************************************************************/
11
package org.eclipse.draw2d;
12

    
13
/**
14
 * A figure that can be scaled.
15
 * 
16
 * @author Eric Bordeau
17
 * @since 2.1.1
18
 */
19
public interface ScalableFigure extends IFigure {
20

    
21
	/**
22
	 * Returns the current scale.
23
	 * 
24
	 * @return the current scale
25
	 */
26
	double getScale();
27

    
28
	/**
29
	 * Sets the new scale factor.
30
	 * 
31
	 * @param scale
32
	 *            the scale
33
	 */
34
	void setScale(double scale);
35

    
36
}
(136-136/171)