| Modifier and Type | Field and Description | 
|---|---|
| static String | NAMEThe name that this relation goes by in text form. | 
| Constructor and Description | 
|---|
| WidthRatioRelation() | 
| Modifier and Type | Method and Description | 
|---|---|
| double | apply(SceneElement e1,
     SceneElement e2)Calculate the ratio of the width of the first element to the
 width of the second. | 
| String | getName()The name of this relation. | 
| String | toString()Print out the contents of this relation. | 
| String | toString(String e1Name,
        String e2Name)Pretty print the relation in the grammar format. | 
public static String NAME
public double apply(SceneElement e1, SceneElement e2)
public String getName()
public String toString(String e1Name, String e2Name)
Copyright © 2025 Central Laboratory of the Research Councils. All Rights Reserved.