System::Drawing::Imaging::ColorMatrix Class Reference

Represents a 5x5 matrix that contains the coordinates for the RGBAW color space. Objects of this class should only be allocated using System::MakeObject() function. Never create instance of this type on stack or using operator new, as it will result in runtime errors and/or assertion faults. Always wrap this class into System::SmartPtr pointer and use this pointer to pass it to functions as argument. More...

Inherits System::Object.

Public Member Functions

ASPOSECPP_SHARED_API ColorMatrix ()
 Constructs a new instance of ColorMatrix class and initializes it with the values of identity matrix. More...
 
ASPOSECPP_SHARED_API ColorMatrix (const System::ArrayPtr< System::ArrayPtr< float > > &matrix)
 Constructs a new instance of ColorMatrix class and initializes it with the specified values. More...
 
ASPOSECPP_SHARED_API float idx_get (int row, int column)
 Returns a value at the specified row and column. More...
 
ASPOSECPP_SHARED_API float idx_set (int row, int column, float value)
 Sets the specifie value at the specified location in the matrix. More...
 
ASPOSECPP_SHARED_API float get_Matrix00 () const
 Returns a value in 0-th row and 0-th column. More...
 
ASPOSECPP_SHARED_API void set_Matrix00 (float value)
 Sets a value in the 0-th row and 0-th column. More...
 
ASPOSECPP_SHARED_API float get_Matrix01 () const
 Returns a value in 0-th row and 1-st column. More...
 
ASPOSECPP_SHARED_API void set_Matrix01 (float value)
 Sets a value in the 0-th row and 1-st column. More...
 
ASPOSECPP_SHARED_API float get_Matrix02 () const
 Returns a value in 0-th row and 2-nd column. More...
 
ASPOSECPP_SHARED_API void set_Matrix02 (float value)
 Sets a value in the 0-th row and 2-nd column. More...
 
ASPOSECPP_SHARED_API float get_Matrix03 () const
 Returns a value in 0-th row and 3-rd column. More...
 
ASPOSECPP_SHARED_API void set_Matrix03 (float value)
 Sets a value in the 0-th row and 3-rd column. More...
 
ASPOSECPP_SHARED_API float get_Matrix04 () const
 Returns a value in 0-th row and 4-th column. More...
 
ASPOSECPP_SHARED_API void set_Matrix04 (float value)
 Sets a value in the 0-th row and 4-th column. More...
 
ASPOSECPP_SHARED_API float get_Matrix10 () const
 Returns a value in 1-st row and 0-th column. More...
 
ASPOSECPP_SHARED_API void set_Matrix10 (float value)
 Sets a value in the 1-st row and 0-th column. More...
 
ASPOSECPP_SHARED_API float get_Matrix11 () const
 Returns a value in 1-st row and 1-st column. More...
 
ASPOSECPP_SHARED_API void set_Matrix11 (float value)
 Sets a value in the 1-st row and 1-st column. More...
 
ASPOSECPP_SHARED_API float get_Matrix12 () const
 Returns a value in 1-st row and 2-nd column. More...
 
ASPOSECPP_SHARED_API void set_Matrix12 (float value)
 Sets a value in the 1-st row and 2-nd column. More...
 
ASPOSECPP_SHARED_API float get_Matrix13 () const
 Returns a value in 1-st row and 3-rd column. More...
 
ASPOSECPP_SHARED_API void set_Matrix13 (float value)
 Sets a value in the 1-st row and 3-rd column. More...
 
ASPOSECPP_SHARED_API float get_Matrix14 () const
 Returns a value in 1-st row and 4-th column. More...
 
ASPOSECPP_SHARED_API void set_Matrix14 (float value)
 Sets a value in the 1-st row and 4-th column. More...
 
ASPOSECPP_SHARED_API float get_Matrix20 () const
 Returns a value in 2-nd row and 0-th column. More...
 
ASPOSECPP_SHARED_API void set_Matrix20 (float value)
 Sets a value in the 2-nd row and 0-th column. More...
 
ASPOSECPP_SHARED_API float get_Matrix21 () const
 Returns a value in 2-nd row and 1-st column. More...
 
ASPOSECPP_SHARED_API void set_Matrix21 (float value)
 Sets a value in the 2-nd row and 1-st column. More...
 
ASPOSECPP_SHARED_API float get_Matrix22 () const
 Returns a value in 2-nd row and 2-nd column. More...
 
ASPOSECPP_SHARED_API void set_Matrix22 (float value)
 Sets a value in the 2-nd row and 2-nd column. More...
 
ASPOSECPP_SHARED_API float get_Matrix23 () const
 Returns a value in 2-nd row and 3-rd column. More...
 
ASPOSECPP_SHARED_API void set_Matrix23 (float value)
 Sets a value in the 2-nd row and 3-rd column. More...
 
ASPOSECPP_SHARED_API float get_Matrix24 () const
 Returns a value in 2-nd row and 4-th column. More...
 
ASPOSECPP_SHARED_API void set_Matrix24 (float value)
 Sets a value in the 2-nd row and 4-th column. More...
 
ASPOSECPP_SHARED_API float get_Matrix30 () const
 Returns a value in 3-rd row and 0-th column. More...
 
ASPOSECPP_SHARED_API void set_Matrix30 (float value)
 Sets a value in the 3-rd row and 0-th column. More...
 
ASPOSECPP_SHARED_API float get_Matrix31 () const
 Returns a value in 3-rd row and 1-st column. More...
 
ASPOSECPP_SHARED_API void set_Matrix31 (float value)
 Sets a value in the 3-rd row and 1-st column. More...
 
ASPOSECPP_SHARED_API float get_Matrix32 () const
 Returns a value in 3-rd row and 2-nd column. More...
 
ASPOSECPP_SHARED_API void set_Matrix32 (float value)
 Sets a value in the 3-rd row and 2-nd column. More...
 
ASPOSECPP_SHARED_API float get_Matrix33 () const
 Returns a value in 3-rd row and 3-rd column. More...
 
ASPOSECPP_SHARED_API void set_Matrix33 (float value)
 Sets a value in the 3-rd row and 3-rd column. More...
 
ASPOSECPP_SHARED_API float get_Matrix34 () const
 Returns a value in 3-rd row and 4-th column. More...
 
ASPOSECPP_SHARED_API void set_Matrix34 (float value)
 Sets a value in the 3-rd row and 4-th column. More...
 
ASPOSECPP_SHARED_API float get_Matrix40 () const
 Returns a value in 4-th row and 0-th column. More...
 
ASPOSECPP_SHARED_API void set_Matrix40 (float value)
 Sets a value in the 4-th row and 0-th column. More...
 
ASPOSECPP_SHARED_API float get_Matrix41 () const
 Returns a value in 4-th row and 1-st column. More...
 
ASPOSECPP_SHARED_API void set_Matrix41 (float value)
 Sets a value in the 4-th row and 1-st column. More...
 
ASPOSECPP_SHARED_API float get_Matrix42 () const
 Returns a value in 4-th row and 2-nd column. More...
 
ASPOSECPP_SHARED_API void set_Matrix42 (float value)
 Sets a value in the 4-th row and 2-nd column. More...
 
ASPOSECPP_SHARED_API float get_Matrix43 () const
 Returns a value in 4-th row and 3-rd column. More...
 
ASPOSECPP_SHARED_API void set_Matrix43 (float value)
 Sets a value in the 4-th row and 3-rd column. More...
 
ASPOSECPP_SHARED_API float get_Matrix44 () const
 Returns a value in 4-th row and 4-th column. More...
 
ASPOSECPP_SHARED_API void set_Matrix44 (float value)
 Sets a value in the 4-th row and 4-th column. More...
 
- Public Member Functions inherited from System::Object
ASPOSECPP_SHARED_API Object ()
 Creates object. Initializes all internal data structures. More...
 
virtual ASPOSECPP_SHARED_API ~Object ()
 Destroys object. Frees all internal data structures. More...
 
ASPOSECPP_SHARED_API Object (Object const &x)
 Copy constructor. Doesn't copy anything, really, just initializes new object and enables copy constructing subclasses. More...
 
Objectoperator= (Object const &x)
 Assignment operator. Doesn't copy anything, really, just initializes new object and enables copy constructing subclasses. More...
 
ObjectSharedRefAdded ()
 Increments shared reference count. Shouldn't be called directly; instead, use smart pointers or ThisProtector. More...
 
int SharedRefRemovedSafe ()
 Decrements and returns shared reference count. Shouldn't be called directly; instead, use smart pointers or ThisProtector. More...
 
int RemovedSharedRefs (int count)
 Decreases shared reference count by specified value. More...
 
Detail::SmartPtrCounter * WeakRefAdded ()
 Increments weak reference count. Shouldn't be called directly; instead, use smart pointers or ThisProtector. More...
 
void WeakRefRemoved ()
 Decrements weak reference count. Shouldn't be called directly; instead, use smart pointers or ThisProtector. More...
 
Detail::SmartPtrCounter * GetCounter ()
 Gets reference counter data structure associated with the object. More...
 
int SharedCount () const
 Gets current value of shared reference counter. More...
 
ASPOSECPP_SHARED_API void Lock ()
 Implements C# lock() statement locking. Call directly or use LockContext sentry object. More...
 
ASPOSECPP_SHARED_API void Unlock ()
 Implements C# lock() statement unlocking. Call directly or use LockContext sentry object. More...
 
virtual ASPOSECPP_SHARED_API bool Equals (ptr obj)
 Compares objects using C# Object.Equals semantics. More...
 
virtual ASPOSECPP_SHARED_API int32_t GetHashCode () const
 Analog of C# Object.GetHashCode() method. Enables hashing of custom objects. More...
 
virtual ASPOSECPP_SHARED_API String ToString () const
 Analog of C# Object.ToString() method. Enables converting custom objects to string. More...
 
virtual ASPOSECPP_SHARED_API ptr MemberwiseClone () const
 Analog of C# Object.MemberwiseClone() method. Enables cloning custom types. More...
 
virtual ASPOSECPP_SHARED_API const TypeInfoGetType () const
 Gets actual type of object. Analog of C# System.Object.GetType() call. More...
 
virtual ASPOSECPP_SHARED_API bool Is (const TypeInfo &targetType) const
 Check if object represents an instance of type described by targetType. Analog of C# 'is' operator. More...
 
virtual ASPOSECPP_SHARED_API void SetTemplateWeakPtr (uint32_t argument)
 Set n'th template argument a weak pointer (rather than shared). Allows switching pointers in containers to weak mode. More...
 
virtual ASPOSECPP_SHARED_API bool FastCast (const Details::FastRttiBase &helper, void **out_ptr) const
 For internal purposes only. More...
 
template<>
bool Equals (float const &objA, float const &objB)
 Emulates C#-style floating point comparison where two NaNs are considered equal even though according to IEC 60559:1989 NaN is not equal to any value, including NaN. More...
 
template<>
bool Equals (double const &objA, double const &objB)
 Emulates C#-style floating point comparison where two NaNs are considered equal even though according to IEC 60559:1989 NaN is not equal to any value, including NaN. More...
 
template<>
bool ReferenceEquals (String const &str, std::nullptr_t)
 Specialization of Object::ReferenceEquals for case of string and nullptr. More...
 
template<>
bool ReferenceEquals (String const &str1, String const &str2)
 Specialization of Object::ReferenceEquals for case of strings. More...
 

Additional Inherited Members

- Public Types inherited from System::Object
typedef SmartPtr< Objectptr
 Alias for smart pointer type. More...
 
- Static Public Member Functions inherited from System::Object
static bool ReferenceEquals (ptr const &objA, ptr const &objB)
 Compares objects by reference. More...
 
template<typename T >
static std::enable_if<!IsSmartPtr< T >::value, bool >::type ReferenceEquals (T const &objA, T const &objB)
 Compares objects by reference. More...
 
template<typename T >
static std::enable_if<!IsSmartPtr< T >::value, bool >::type ReferenceEquals (T const &objA, std::nullptr_t)
 Reference-compares value type object with nullptr. More...
 
template<typename T1 , typename T2 >
static std::enable_if< IsSmartPtr< T1 >::value &&IsSmartPtr< T2 >::value, bool >::type Equals (T1 const &objA, T2 const &objB)
 Compares reference type objects in C# style. More...
 
template<typename T1 , typename T2 >
static std::enable_if<!IsSmartPtr< T1 >::value &&!IsSmartPtr< T2 >::value, bool >::type Equals (T1 const &objA, T2 const &objB)
 Compares value type objects in C# style. More...
 
static const TypeInfoType ()
 Implements C# typeof(System.Object) construct. More...
 

Detailed Description

Represents a 5x5 matrix that contains the coordinates for the RGBAW color space. Objects of this class should only be allocated using System::MakeObject() function. Never create instance of this type on stack or using operator new, as it will result in runtime errors and/or assertion faults. Always wrap this class into System::SmartPtr pointer and use this pointer to pass it to functions as argument.

Constructor & Destructor Documentation

◆ ColorMatrix() [1/2]

ASPOSECPP_SHARED_API System::Drawing::Imaging::ColorMatrix::ColorMatrix ( )

Constructs a new instance of ColorMatrix class and initializes it with the values of identity matrix.

◆ ColorMatrix() [2/2]

ASPOSECPP_SHARED_API System::Drawing::Imaging::ColorMatrix::ColorMatrix ( const System::ArrayPtr< System::ArrayPtr< float > > &  matrix)

Constructs a new instance of ColorMatrix class and initializes it with the specified values.

Parameters
matrixA 2-dimensional array containing value ot initialize the matrix with

Member Function Documentation

◆ get_Matrix00()

ASPOSECPP_SHARED_API float System::Drawing::Imaging::ColorMatrix::get_Matrix00 ( ) const

Returns a value in 0-th row and 0-th column.

◆ get_Matrix01()

ASPOSECPP_SHARED_API float System::Drawing::Imaging::ColorMatrix::get_Matrix01 ( ) const

Returns a value in 0-th row and 1-st column.

◆ get_Matrix02()

ASPOSECPP_SHARED_API float System::Drawing::Imaging::ColorMatrix::get_Matrix02 ( ) const

Returns a value in 0-th row and 2-nd column.

◆ get_Matrix03()

ASPOSECPP_SHARED_API float System::Drawing::Imaging::ColorMatrix::get_Matrix03 ( ) const

Returns a value in 0-th row and 3-rd column.

◆ get_Matrix04()

ASPOSECPP_SHARED_API float System::Drawing::Imaging::ColorMatrix::get_Matrix04 ( ) const

Returns a value in 0-th row and 4-th column.

◆ get_Matrix10()

ASPOSECPP_SHARED_API float System::Drawing::Imaging::ColorMatrix::get_Matrix10 ( ) const

Returns a value in 1-st row and 0-th column.

◆ get_Matrix11()

ASPOSECPP_SHARED_API float System::Drawing::Imaging::ColorMatrix::get_Matrix11 ( ) const

Returns a value in 1-st row and 1-st column.

◆ get_Matrix12()

ASPOSECPP_SHARED_API float System::Drawing::Imaging::ColorMatrix::get_Matrix12 ( ) const

Returns a value in 1-st row and 2-nd column.

◆ get_Matrix13()

ASPOSECPP_SHARED_API float System::Drawing::Imaging::ColorMatrix::get_Matrix13 ( ) const

Returns a value in 1-st row and 3-rd column.

◆ get_Matrix14()

ASPOSECPP_SHARED_API float System::Drawing::Imaging::ColorMatrix::get_Matrix14 ( ) const

Returns a value in 1-st row and 4-th column.

◆ get_Matrix20()

ASPOSECPP_SHARED_API float System::Drawing::Imaging::ColorMatrix::get_Matrix20 ( ) const

Returns a value in 2-nd row and 0-th column.

◆ get_Matrix21()

ASPOSECPP_SHARED_API float System::Drawing::Imaging::ColorMatrix::get_Matrix21 ( ) const

Returns a value in 2-nd row and 1-st column.

◆ get_Matrix22()

ASPOSECPP_SHARED_API float System::Drawing::Imaging::ColorMatrix::get_Matrix22 ( ) const

Returns a value in 2-nd row and 2-nd column.

◆ get_Matrix23()

ASPOSECPP_SHARED_API float System::Drawing::Imaging::ColorMatrix::get_Matrix23 ( ) const

Returns a value in 2-nd row and 3-rd column.

◆ get_Matrix24()

ASPOSECPP_SHARED_API float System::Drawing::Imaging::ColorMatrix::get_Matrix24 ( ) const

Returns a value in 2-nd row and 4-th column.

◆ get_Matrix30()

ASPOSECPP_SHARED_API float System::Drawing::Imaging::ColorMatrix::get_Matrix30 ( ) const

Returns a value in 3-rd row and 0-th column.

◆ get_Matrix31()

ASPOSECPP_SHARED_API float System::Drawing::Imaging::ColorMatrix::get_Matrix31 ( ) const

Returns a value in 3-rd row and 1-st column.

◆ get_Matrix32()

ASPOSECPP_SHARED_API float System::Drawing::Imaging::ColorMatrix::get_Matrix32 ( ) const

Returns a value in 3-rd row and 2-nd column.

◆ get_Matrix33()

ASPOSECPP_SHARED_API float System::Drawing::Imaging::ColorMatrix::get_Matrix33 ( ) const

Returns a value in 3-rd row and 3-rd column.

◆ get_Matrix34()

ASPOSECPP_SHARED_API float System::Drawing::Imaging::ColorMatrix::get_Matrix34 ( ) const

Returns a value in 3-rd row and 4-th column.

◆ get_Matrix40()

ASPOSECPP_SHARED_API float System::Drawing::Imaging::ColorMatrix::get_Matrix40 ( ) const

Returns a value in 4-th row and 0-th column.

◆ get_Matrix41()

ASPOSECPP_SHARED_API float System::Drawing::Imaging::ColorMatrix::get_Matrix41 ( ) const

Returns a value in 4-th row and 1-st column.

◆ get_Matrix42()

ASPOSECPP_SHARED_API float System::Drawing::Imaging::ColorMatrix::get_Matrix42 ( ) const

Returns a value in 4-th row and 2-nd column.

◆ get_Matrix43()

ASPOSECPP_SHARED_API float System::Drawing::Imaging::ColorMatrix::get_Matrix43 ( ) const

Returns a value in 4-th row and 3-rd column.

◆ get_Matrix44()

ASPOSECPP_SHARED_API float System::Drawing::Imaging::ColorMatrix::get_Matrix44 ( ) const

Returns a value in 4-th row and 4-th column.

◆ idx_get()

ASPOSECPP_SHARED_API float System::Drawing::Imaging::ColorMatrix::idx_get ( int  row,
int  column 
)

Returns a value at the specified row and column.

Parameters
rowA 0-based index of the row in the matrix in which the value to return is located
columnA 0-based index of the column in the matrix in which the value to return is located
Returns
A value at the specified location in the matrix

◆ idx_set()

ASPOSECPP_SHARED_API float System::Drawing::Imaging::ColorMatrix::idx_set ( int  row,
int  column,
float  value 
)

Sets the specifie value at the specified location in the matrix.

Parameters
rowA 0-based index of the row in the matrix in which to set the value
columnA 0-based index of the column in the matrix in which to set the value
valueA value to set
Returns
value

◆ set_Matrix00()

ASPOSECPP_SHARED_API void System::Drawing::Imaging::ColorMatrix::set_Matrix00 ( float  value)

Sets a value in the 0-th row and 0-th column.

Parameters
valueA value to set

◆ set_Matrix01()

ASPOSECPP_SHARED_API void System::Drawing::Imaging::ColorMatrix::set_Matrix01 ( float  value)

Sets a value in the 0-th row and 1-st column.

Parameters
valueA value to set

◆ set_Matrix02()

ASPOSECPP_SHARED_API void System::Drawing::Imaging::ColorMatrix::set_Matrix02 ( float  value)

Sets a value in the 0-th row and 2-nd column.

Parameters
valueA value to set

◆ set_Matrix03()

ASPOSECPP_SHARED_API void System::Drawing::Imaging::ColorMatrix::set_Matrix03 ( float  value)

Sets a value in the 0-th row and 3-rd column.

Parameters
valueA value to set

◆ set_Matrix04()

ASPOSECPP_SHARED_API void System::Drawing::Imaging::ColorMatrix::set_Matrix04 ( float  value)

Sets a value in the 0-th row and 4-th column.

Parameters
valueA value to set

◆ set_Matrix10()

ASPOSECPP_SHARED_API void System::Drawing::Imaging::ColorMatrix::set_Matrix10 ( float  value)

Sets a value in the 1-st row and 0-th column.

Parameters
valueA value to set

◆ set_Matrix11()

ASPOSECPP_SHARED_API void System::Drawing::Imaging::ColorMatrix::set_Matrix11 ( float  value)

Sets a value in the 1-st row and 1-st column.

Parameters
valueA value to set

◆ set_Matrix12()

ASPOSECPP_SHARED_API void System::Drawing::Imaging::ColorMatrix::set_Matrix12 ( float  value)

Sets a value in the 1-st row and 2-nd column.

Parameters
valueA value to set

◆ set_Matrix13()

ASPOSECPP_SHARED_API void System::Drawing::Imaging::ColorMatrix::set_Matrix13 ( float  value)

Sets a value in the 1-st row and 3-rd column.

Parameters
valueA value to set

◆ set_Matrix14()

ASPOSECPP_SHARED_API void System::Drawing::Imaging::ColorMatrix::set_Matrix14 ( float  value)

Sets a value in the 1-st row and 4-th column.

Parameters
valueA value to set

◆ set_Matrix20()

ASPOSECPP_SHARED_API void System::Drawing::Imaging::ColorMatrix::set_Matrix20 ( float  value)

Sets a value in the 2-nd row and 0-th column.

Parameters
valueA value to set

◆ set_Matrix21()

ASPOSECPP_SHARED_API void System::Drawing::Imaging::ColorMatrix::set_Matrix21 ( float  value)

Sets a value in the 2-nd row and 1-st column.

Parameters
valueA value to set

◆ set_Matrix22()

ASPOSECPP_SHARED_API void System::Drawing::Imaging::ColorMatrix::set_Matrix22 ( float  value)

Sets a value in the 2-nd row and 2-nd column.

Parameters
valueA value to set

◆ set_Matrix23()

ASPOSECPP_SHARED_API void System::Drawing::Imaging::ColorMatrix::set_Matrix23 ( float  value)

Sets a value in the 2-nd row and 3-rd column.

Parameters
valueA value to set

◆ set_Matrix24()

ASPOSECPP_SHARED_API void System::Drawing::Imaging::ColorMatrix::set_Matrix24 ( float  value)

Sets a value in the 2-nd row and 4-th column.

Parameters
valueA value to set

◆ set_Matrix30()

ASPOSECPP_SHARED_API void System::Drawing::Imaging::ColorMatrix::set_Matrix30 ( float  value)

Sets a value in the 3-rd row and 0-th column.

Parameters
valueA value to set

◆ set_Matrix31()

ASPOSECPP_SHARED_API void System::Drawing::Imaging::ColorMatrix::set_Matrix31 ( float  value)

Sets a value in the 3-rd row and 1-st column.

Parameters
valueA value to set

◆ set_Matrix32()

ASPOSECPP_SHARED_API void System::Drawing::Imaging::ColorMatrix::set_Matrix32 ( float  value)

Sets a value in the 3-rd row and 2-nd column.

Parameters
valueA value to set

◆ set_Matrix33()

ASPOSECPP_SHARED_API void System::Drawing::Imaging::ColorMatrix::set_Matrix33 ( float  value)

Sets a value in the 3-rd row and 3-rd column.

Parameters
valueA value to set

◆ set_Matrix34()

ASPOSECPP_SHARED_API void System::Drawing::Imaging::ColorMatrix::set_Matrix34 ( float  value)

Sets a value in the 3-rd row and 4-th column.

Parameters
valueA value to set

◆ set_Matrix40()

ASPOSECPP_SHARED_API void System::Drawing::Imaging::ColorMatrix::set_Matrix40 ( float  value)

Sets a value in the 4-th row and 0-th column.

Parameters
valueA value to set

◆ set_Matrix41()

ASPOSECPP_SHARED_API void System::Drawing::Imaging::ColorMatrix::set_Matrix41 ( float  value)

Sets a value in the 4-th row and 1-st column.

Parameters
valueA value to set

◆ set_Matrix42()

ASPOSECPP_SHARED_API void System::Drawing::Imaging::ColorMatrix::set_Matrix42 ( float  value)

Sets a value in the 4-th row and 2-nd column.

Parameters
valueA value to set

◆ set_Matrix43()

ASPOSECPP_SHARED_API void System::Drawing::Imaging::ColorMatrix::set_Matrix43 ( float  value)

Sets a value in the 4-th row and 3-rd column.

Parameters
valueA value to set

◆ set_Matrix44()

ASPOSECPP_SHARED_API void System::Drawing::Imaging::ColorMatrix::set_Matrix44 ( float  value)

Sets a value in the 4-th row and 4-th column.

Parameters
valueA value to set