Class: TypographicUnit::ScaledPoint

Inherits:
Unit
  • Object
show all
Defined in:
lib/typographic-unit/scaled-point.rb

Overview

This is a class for representing scaled point(sp). Scaled point is defined as base unit in this library.

Instance Attribute Summary

Attributes inherited from Unit

#value

Method Summary

Methods inherited from Unit

#%, #*, #+, #+@, #-, #-@, #<=>, #>>, #abs, base, #ceil, #div, #floor, #initialize, #inspect, #integer?, #nonzero?, #quo, register, #round, #scaled_point, short, size, #step, #to_f, #to_i, #to_int, #to_s, #truncate, unit, #zero?

Constructor Details

This class inherits a constructor from TypographicUnit::Unit