Range
Overview
Class to hold a start/end range.
Location
-
Reference:
- Elements.dll .NET, .NET Core 6.0, .NET Standard 2.0
- elements.jar Cooper
- Elements.fx Island, ToffeeV2
- libElements.fx Toffee
- Namespace: RemObjects.Elements.RTL
- Platforms: .NET, .NET Core 6.0, .NET Standard 2.0, Cooper, Island, Toffee, ToffeeV2
-
Mapped to:
- NSRange Toffee, ToffeeV2
-
Ancestry:
constructor Cooper
Creates an empty range.
constructor
Range()
init()
Range()
Sub New()
Create a new range value with a given start/end.
constructor(aLocation: Int32; aLength: Int32)
Range(Int32 aLocation, Int32 aLength)
init(_ aLocation: Int32, _ aLength: Int32)
Range(Integer aLocation, Integer aLength)
Sub New(aLocation As Int32, aLength As Int32)
Parameters:
- aLocation:
- aLength:
constructor (Range) Cooper
Create a new range value based on another value.
constructor(value: Range)
Range(Range value)
init(_ value: Range)
Range(Range value)
Sub New(value As Range)
Parameters:
- value:
clone Cooper
method clone: Object
Object clone()
func clone() -> Object
Object clone()
Function clone() As Object
End
End of range value, Location + Length.
property End: Int32 read;
Int32 End { get; }
var End: Int32 { get{} }
Integer End { __get; }
ReadOnly Property End() As Int32
Length
Length of this range.
property Length: Int32 read write;
Int32 Length { get; set; }
var Length: Int32 { get{} set{} }
Integer Length { __get; __set; }
Property Length() As Int32
Location
Start location of this range.
property Location: Int32 read write;
Int32 Location { get; set; }
var Location: Int32 { get{} set{} }
Integer Location { __get; __set; }
Property Location() As Int32
OverlappingSubRange
True if the parameter overlaps this range.
method OverlappingSubRange(aRange: Range): nullable Range
Range? OverlappingSubRange(Range aRange)
func OverlappingSubRange(_ aRange: Range) -> Range!
Range OverlappingSubRange(Range aRange)
Function OverlappingSubRange(aRange As Range) As Range?
Parameters:
- aRange:
End
End of range value, Location + Length.
property End: Int32 read;
Int32 End { get; }
var End: Int32 { get{} }
Integer End { __get; }
ReadOnly Property End() As Int32
Length
Length of this range.
property Length: Int32 read write;
Int32 Length { get; set; }
var Length: Int32 { get{} set{} }
Integer Length { __get; __set; }
Property Length() As Int32
Location
Start location of this range.
property Location: Int32 read write;
Int32 Location { get; set; }
var Location: Int32 { get{} set{} }
Integer Location { __get; __set; }
Property Location() As Int32
constructor Cooper
Creates an empty range.
constructor
Range()
init()
Range()
Sub New()
Create a new range value with a given start/end.
constructor(aLocation: Int32; aLength: Int32)
Range(Int32 aLocation, Int32 aLength)
init(_ aLocation: Int32, _ aLength: Int32)
Range(Integer aLocation, Integer aLength)
Sub New(aLocation As Int32, aLength As Int32)
Parameters:
- aLocation:
- aLength:
constructor (Range) Cooper
Create a new range value based on another value.
constructor(value: Range)
Range(Range value)
init(_ value: Range)
Range(Range value)
Sub New(value As Range)
Parameters:
- value:
clone Cooper
method clone: Object
Object clone()
func clone() -> Object
Object clone()
Function clone() As Object
OverlappingSubRange
True if the parameter overlaps this range.
method OverlappingSubRange(aRange: Range): nullable Range
Range? OverlappingSubRange(Range aRange)
func OverlappingSubRange(_ aRange: Range) -> Range!
Range OverlappingSubRange(Range aRange)
Function OverlappingSubRange(aRange As Range) As Range?
Parameters:
- aRange: