CrImage::Math::Fixed::Point52_12
Inherits Reference / Object
Point52_12 is a 52.12 fixed-point coordinate pair.
It is analogous to the CrImage::Point
Constructors
new(x : Number, y : Number)
SourceClass methods
zero
SourceInstance methods
*(o : Point52_12)
Source+(o : Point52_12)
Source-(o : Point52_12)
Source/(o : Point52_12)
Source==(o : Point52_12)
Sourceto_s(io : IO) : Nil
Appends a short String representation of this object which includes its class name and its object address.
class Person
def initialize(@name : String, @age : Int32)
end
end
Person.new("John", 32).to_s # => #<Person:0x10a199f20>
x=(x : Int52_12)
Sourcey=(y : Int52_12)
Source