User Tools

Site Tools


api:dk11:java:tatukgis.jdk.tgis_bitmap.lockpixels_tgis_pixels_boolean_tgis_bitmapformat_tgis_bitmaplinesorder

Table of Contents

TGIS_Bitmap.LockPixels(int[], bool, TGIS_BitmapFormat, TGIS_BitmapLinesOrder) method

DK for Java | tatukgis.jdk.TGIS_Bitmap.LockPixels | Overloads | Constructors | Methods | Properties

Return raw pixels

Available also on: Delphi | .NET | ActiveX | Python.

Syntax

// Java
public void LockPixels(
  /* ref */ @ValueTypeParameter VarParameter<int[]> _pixels,
  bool _writable,
  TGIS_BitmapFormat _format,
  TGIS_BitmapLinesOrder _order
);
// Oxygene
public
  procedure LockPixels(
    var _pixels : TGIS_Pixels;
    _writable : Boolean;
    _format : TGIS_BitmapFormat;
    _order : TGIS_BitmapLinesOrder
  );

Parameters

Name Type Description
_pixels int[]
TGIS_Pixels
array of pixels to be returned
_writable bool
Boolean
if true then upon Unlock changes in locked pixel array will be populated back to bitmap
_format TGIS_BitmapFormat format of locked pixel array; ARGB or BGRA
_order TGIS_BitmapLinesOrder rows order: bottom-up or top-bottom
2025/01/31 01:15

Page Tools