xtd - Reference Guide  0.1.0
Modern c++17/20 framework to create console, GUI and unit test applications on Windows, macOS, Linux, iOS and android.
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Modules Pages
Public Member Functions | Static Public Member Functions | List of all members
xtd::drawing::imaging::frame_dimension Class Referencefinal

#include <frame_dimension.h>

Definition

Provides properties that get the frame dimensions of an image. Not inheritable.

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

Inherits xtd::object.

Public Member Functions

 frame_dimension (const xtd::guid &guid)
 Initializes a new instance of the FrameDimension class using the specified Guid structure.
 
const xtd::guidguid () const
 Gets a globally unique identifier (GUID) that represents this frame_dimension object.
 
- 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.
 
template<typename object_t >
std::unique_ptr< object_t > memberwise_clone () const
 Gets the type of the current instance.
 
virtual xtd::ustring to_string () const noexcept
 Returns a std::string that represents the current object.
 

Static Public Member Functions

static frame_dimension page ()
 Gets the page dimension.
 
static frame_dimension resolution ()
 Gets the resolution dimension.
 
static frame_dimension time ()
 Gets the time dimension.
 
- Static Public Member Functions inherited from xtd::object
static bool equals (const object &object_a, const object &object_b) noexcept
 Determines whether the specified object instances are considered equal.
 
static bool reference_equals (const object &object_a, const object &object_b) noexcept
 Determines whether the specified object instances are the same instance.
 

Constructor & Destructor Documentation

◆ frame_dimension()

xtd::drawing::imaging::frame_dimension::frame_dimension ( const xtd::guid guid)
inlineexplicit

Initializes a new instance of the FrameDimension class using the specified Guid structure.

Parameters
guidA Guid structure that contains a GUID for this frame_dimension object.

Member Function Documentation

◆ guid()

const xtd::guid & xtd::drawing::imaging::frame_dimension::guid ( ) const
inline

Gets a globally unique identifier (GUID) that represents this frame_dimension object.

Returns
A guid structure that contains a GUID that represents this frame_dimension object.

◆ page()

static frame_dimension xtd::drawing::imaging::frame_dimension::page ( )
inlinestatic

Gets the page dimension.

Returns
The page dimension.

◆ resolution()

static frame_dimension xtd::drawing::imaging::frame_dimension::resolution ( )
inlinestatic

Gets the resolution dimension.

Returns
The resolution dimension.

◆ time()

static frame_dimension xtd::drawing::imaging::frame_dimension::time ( )
inlinestatic

Gets the time dimension.

Returns
The time dimension.

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