This page is part of an archival collection and is no longer actively maintained.
It may contain outdated information and may not meet current or future
WCAG accessibility standards.
We provide this content, its subpages, and associated links for historical reference only.
If you need assistance, please contact support@cs.washington.edu
public class Vertex extends Struct {
public final Float32 x = new Float32();
public final Float32 y = new Float32();
}
public class Rectangle extends Struct {
public final Signed32[] colors = (Signed32[]) new ArrayMember(Signed32.class, 4).get();
public final Vertex[][] vertices = (Vertex[][]) new ArrayMember(Vertex.class, new int[] {2, 2}).get();
public final UTF8String20[] text = (UTF8String20[]) new ArrayMember(UTF8String20.class, 4).get();
public class UTF8String20 extends UTF8String {
public UTF8String20() { // Default constructor (no argument) to be used.
super(20); // UTF8String of 20 bytes.
}
}
}