Jypeli  5
The simple game programming library
Dimensional.cs
Siirry tämän tiedoston dokumentaatioon.
1 using System;
2 using System.Collections.Generic;
3 using System.Linq;
4 using System.Text;
5 
6 namespace Jypeli
7 {
11  public interface Dimensional
12  {
16  double Left { get; }
17 
21  double Right { get; }
22 
26  double Top { get; }
27 
31  double Bottom { get; }
32 
36  Vector Size { get; }
37 
41  double Width { get; }
42 
46  double Height { get; }
47  }
48 
52  public interface DimensionalRW : Dimensional
53  {
57  new double Left { get; set; }
58 
62  new double Right { get; set; }
63 
67  new double Top { get; set; }
68 
72  new double Bottom { get; set; }
73 
77  new Vector Size { get; set; }
78 
82  new double Width { get; set; }
83 
87  new double Height { get; set; }
88  }
89 }
double Right
Oikea reuna.
Definition: Dimensional.cs:21
double Top
Yläreuna.
Definition: Dimensional.cs:26
Vector Size
Koko.
Definition: Dimensional.cs:36
double Width
Leveys.
Definition: Dimensional.cs:41
double Bottom
Alareuna.
Definition: Dimensional.cs:31
double Left
Vasen reuna.
Definition: Dimensional.cs:16
double Height
Korkeus.
Definition: Dimensional.cs:46
2D-vektori.
Definition: Vector.cs:56
Olio jolla on reunat joita voi muuttaa.
Definition: Dimensional.cs:52
Olio jolla on reunat.
Definition: Dimensional.cs:11