xtd 0.2.0
Loading...
Searching...
No Matches
xtd::drawing::imaging::bitmap_data Class Referencefinal
Inheritance diagram for xtd::drawing::imaging::bitmap_data:
xtd::object

Definition

Specifies the attributes of a bitmap image. The xtd::drawing::imaging::bitmap_data class is used by the xtd::drawing::bitmap::lock_bits and xtd::drawing::bitmap::unlock_bits methods of the xtd::drawing::bitmap class. Not inheritable.

Namespace
xtd::drawing::imaging
Library
xtd.drawing

Public Constructors

 bitmap_data ()=default
 Initializes a new instance of the xtd::drawing::imaging::bitmap_data class.
 

Public Properties

int32 height () const noexcept
 Gets the pixel height of the xtd::drawing::bitmap object. Also sometimes referred to as the number of scan lines.
 
bitmap_dataheight (int32 value) noexcept
 Sets the pixel height of the xtd::drawing::bitmap object. Also sometimes referred to as the number of scan lines.
 
xtd::drawing::imaging::pixel_format pixel_format () const noexcept
 Gets the format of the pixel information in the xtd::drawing::bitmap object that returned this xtd::drawing::imaging::bitmap_data object.
 
bitmap_datapixel_format (xtd::drawing::imaging::pixel_format value) noexcept
 Sets the format of the pixel information in the xtd::drawing::bitmap object that returned this xtd::drawing::imaging::bitmap_data object.
 
int32 reserved () const noexcept
 Reserved. Do not use.
 
bitmap_datareserved (int32 value) noexcept
 Reserved. Do not use.
 
intptr scan0 () const noexcept
 Gets or sets the address of the first pixel data in the bitmap. This can also be thought of as the first scan line in the bitmap.
 
bitmap_datascan0 (intptr value) noexcept
 Sets or sets the address of the first pixel data in the bitmap. This can also be thought of as the first scan line in the bitmap.
 
int32 stride () const noexcept
 Gets the stride width (also called scan width) of the xtd::drawing::bitmap object.
 
bitmap_datastride (int32 value) noexcept
 Sets the stride width (also called scan width) of the xtd::drawing::bitmap object.
 
int32 width () const noexcept
 Gets or sets the pixel width of the xtd::drawing::bitmap object. This can also be thought of as the number of pixels in one scan line.
 
bitmap_datawidth (int32 value) noexcept
 Sets or sets the pixel width of the xtd::drawing::bitmap object. This can also be thought of as the number of pixels in one scan line.
 

Additional Inherited Members

- Public Member Functions inherited from xtd::object
 object ()=default
 Create a new instance of the ultimate base class object.
 
virtual bool equals (const object &obj) const noexcept
 Determines whether the specified object is equal to the current object.
 
virtual size_t get_hash_code () const noexcept
 Serves as a hash function for a particular type.
 
virtual type_object get_type () const noexcept
 Gets the type of the current instance.
 
template<typename object_t >
xtd::uptr< object_t > memberwise_clone () const
 Creates a shallow copy of the current object.
 
virtual xtd::string to_string () const noexcept
 Returns a xtd::string that represents the current object.
 
- Static Public Member Functions inherited from xtd::object
template<typename object_a_t , typename object_b_t >
static bool equals (const object_a_t &object_a, const object_b_t &object_b) noexcept
 Determines whether the specified object instances are considered equal.
 
template<typename object_a_t , typename object_b_t >
static bool reference_equals (const object_a_t &object_a, const object_b_t &object_b) noexcept
 Determines whether the specified object instances are the same instance.
 

The documentation for this class was generated from the following file: