ImageGear .NET v25.2 - Updated
ImageGear.Formats.Vector Assembly / ImageGear.Vector Namespace / ImGearVectorEntityGeometry Class / GetColors Method
Buffer for the colors. The buffer must be long enough to receive the colors from start to end taking into account the color alignment.
The start position of the color to be returned.
The end position of the color to be returned.




In This Topic
    GetColors Method
    In This Topic
    Returns the geometry colors on the specified range.
    Syntax
    'Declaration
     
    Public Sub GetColors( _
       ByVal colors() As Byte, _
       ByVal start As Integer, _
       ByVal end As Integer _
    ) 
    'Usage
     
    Dim instance As ImGearVectorEntityGeometry
    Dim colors() As Byte
    Dim start As Integer
    Dim end As Integer
     
    instance.GetColors(colors, start, end)
    public void GetColors( 
       byte[] colors,
       int start,
       int end
    )
    public: void GetColors( 
       byte[]* colors,
       int start,
       int end
    ) 
    public:
    void GetColors( 
       array<byte>^ colors,
       int start,
       int end
    ) 

    Parameters

    colors
    Buffer for the colors. The buffer must be long enough to receive the colors from start to end taking into account the color alignment.
    start
    The start position of the color to be returned.
    end
    The end position of the color to be returned.
    See Also