21 lines
446 B
C#
21 lines
446 B
C#
![]() |
namespace CPF.Mac.CoreText
|
||
|
{
|
||
|
internal class CTParagraphStyleSpecifierByteValue : CTParagraphStyleSpecifierValue
|
||
|
{
|
||
|
private byte value;
|
||
|
|
||
|
internal override int ValueSize => 1;
|
||
|
|
||
|
public CTParagraphStyleSpecifierByteValue(CTParagraphStyleSpecifier spec, byte value)
|
||
|
: base(spec)
|
||
|
{
|
||
|
this.value = value;
|
||
|
}
|
||
|
|
||
|
internal override void WriteValue(CTParagraphStyleSettingValue[] values, int index)
|
||
|
{
|
||
|
values[index].int8 = value;
|
||
|
}
|
||
|
}
|
||
|
}
|