-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Kristopher Guzman
committed
Dec 2, 2016
1 parent
0f20962
commit bbc8777
Showing
3 changed files
with
38 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
package main; | ||
|
||
import javafx.scene.canvas.Canvas; | ||
|
||
/** | ||
* Created by kristopherguzman on 12/2/16. | ||
*/ | ||
public class Line { | ||
|
||
private int start; | ||
private int end; | ||
|
||
public void setStart(); | ||
|
||
public Line(Canvas canvas, int thickness, int from, int to) { | ||
|
||
this.start = canvas.widthProperty().intValue() - start; | ||
this.end = canvas.heightProperty().intValue() - end; | ||
|
||
} | ||
|
||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters