Package: com.multiversesocial.hyperview
Class: com.multiversesocial.hyperview.HyperLine
Source: src/com/multiversesocial/hyperview/HyperLine.java

HyperLine

HyperView V3.2 — class
version V3.2 class

Summary

todo: Convert to extend Gob.class curView.addLine(this);

Source file: HyperLine.java

Hierarchy

Extends: none

Implements: LineConstants

Referenced HyperView classes

Media files used

Declaration & members

public class HyperLine implements LineConstants

Declared in src/com/multiversesocial/hyperview/HyperLine.java, lines 4–40. 16 field(s), 1 constructor(s), 1 method(s). Every member has an anchor you can link to (e.g. HyperLine.html#<id>).

Fields (16)

DeclarationValue / initializerDescriptionSource
int bGPenNo comment in source; assigned in HyperLine().line 12
HyperView curViewNo comment in source; assigned in HyperLine().line 6
int fGPenNo comment in source; assigned in HyperLine().line 11
int lineFlagsNo comment in source; assigned in setLinePattern().line 7
short linePattern= (short)65535No comment in source; assigned in setLinePattern().line 13
HyperLine next= nullNo comment in source; not referenced by name in this type’s methods.line 16
int targetXNo comment in source; name appears in 4 other source file(s): AnimGob, Gob, HyperView, Spline.line 9
int targetX2No comment in source; name appears in 1 other source file(s): HyperView.line 10
int targetYNo comment in source; name appears in 4 other source file(s): AnimGob, Gob, HyperView, Spline.line 9
int targetY2No comment in source; name appears in 1 other source file(s): HyperView.line 10
int timeNo comment in source; not referenced by name in this type’s methods.line 15
int timerNo comment in source; not referenced by name in this type’s methods.line 14
int xNo comment in source; assigned in HyperLine().line 8
int x2No comment in source; assigned in HyperLine().line 8
int yNo comment in source; assigned in HyperLine().line 8
int y2No comment in source; assigned in HyperLine().line 8

Constructors (1)

SignatureDescriptionSource
HyperLine(HyperView tView, int tx, int ty, int tx2, int ty2)8 statement(s); calls super().line 18

Methods (1)

SignatureDescriptionSource
public synchronized void setLinePattern(short ts)2 statement(s).line 27

Examples

Real usage taken from elsewhere in the HyperView 3.2 source (file and line shown; source path src/com/multiversesocial/hyperview/).

instantiation — HyperView.java, line 5951

 5951  c.line[0] = new HyperLine(this,
 5952                            c.x[0],c.y[0],
 5953                            c.x[1],c.y[1]);
Hits--