CrImage::OneMap
Inherits CrImage::Map < Reference < Object
Memory efficient implementation of MapImpl when all values are equal to 1
Constructors
new(width : Int32, height : Int32)
SourceInstance methods
[](xstart : Int32, xcount : Int32, ystart : Int32, ycount : Int32) : OneMap
Source[](x : Int32, y : Int32) : Int32
Source[](xstart : Int32, yrange : Range) : OneMap
Source[](xrange : Range, ystart : Int32) : OneMap
Source[](xrange : Range, yrange : Range) : OneMap
Source[](index : Int32) : Int32
Source[]?(x : Int32, y : Int32) : Int32
Source[]?(index : Int32) : Int32
Sourceheight
Sourcepad(all : Int32 = 0, *, top : Int32 = 0, bottom : Int32 = 0, left : Int32 = 0, right : Int32 = 0, pad_type : EdgePolicy = EdgePolicy::Black, pad_black_value : T = T.zero) : OneMap | IntMap
Sourceshape
Sourcesize
Sourceto_c
Sourceto_i
Sourcewidth
Source