@@ -34,7 +34,7 @@ public abstract class ColorSpaceDetails
34
34
/// <summary>
35
35
/// The number of components for the underlying color space.
36
36
/// </summary>
37
- internal abstract int BaseNumberOfColorComponents { get ; }
37
+ public abstract int BaseNumberOfColorComponents { get ; }
38
38
39
39
/// <summary>
40
40
/// Create a new <see cref="ColorSpaceDetails"/>.
@@ -90,7 +90,7 @@ public sealed class DeviceGrayColorSpaceDetails : ColorSpaceDetails
90
90
public override int NumberOfColorComponents => 1 ;
91
91
92
92
/// <inheritdoc/>
93
- internal override int BaseNumberOfColorComponents => NumberOfColorComponents ;
93
+ public override int BaseNumberOfColorComponents => NumberOfColorComponents ;
94
94
95
95
private DeviceGrayColorSpaceDetails ( ) : base ( ColorSpace . DeviceGray )
96
96
{ }
@@ -152,7 +152,7 @@ public sealed class DeviceRgbColorSpaceDetails : ColorSpaceDetails
152
152
public override int NumberOfColorComponents => 3 ;
153
153
154
154
/// <inheritdoc/>
155
- internal override int BaseNumberOfColorComponents => NumberOfColorComponents ;
155
+ public override int BaseNumberOfColorComponents => NumberOfColorComponents ;
156
156
157
157
private DeviceRgbColorSpaceDetails ( ) : base ( ColorSpace . DeviceRGB )
158
158
{ }
@@ -213,7 +213,7 @@ public sealed class DeviceCmykColorSpaceDetails : ColorSpaceDetails
213
213
public override int NumberOfColorComponents => 4 ;
214
214
215
215
/// <inheritdoc/>
216
- internal override int BaseNumberOfColorComponents => NumberOfColorComponents ;
216
+ public override int BaseNumberOfColorComponents => NumberOfColorComponents ;
217
217
218
218
private DeviceCmykColorSpaceDetails ( ) : base ( ColorSpace . DeviceCMYK )
219
219
{
@@ -289,7 +289,7 @@ internal static ColorSpaceDetails Stencil(ColorSpaceDetails colorSpaceDetails, d
289
289
/// <inheritdoc/>
290
290
/// <para>In the case of <see cref="IndexedColorSpaceDetails"/>, gets the <see cref="BaseColorSpace"/>' <c>BaseNumberOfColorComponents</c>.</para>
291
291
/// </summary>
292
- internal override int BaseNumberOfColorComponents => BaseColorSpace . BaseNumberOfColorComponents ;
292
+ public override int BaseNumberOfColorComponents => BaseColorSpace . BaseNumberOfColorComponents ;
293
293
294
294
/// <summary>
295
295
/// The base color space in which the values in the color table are to be interpreted.
@@ -475,7 +475,7 @@ public sealed class DeviceNColorSpaceDetails : ColorSpaceDetails
475
475
public override int NumberOfColorComponents { get ; }
476
476
477
477
/// <inheritdoc/>
478
- internal override int BaseNumberOfColorComponents => AlternateColorSpace . NumberOfColorComponents ;
478
+ public override int BaseNumberOfColorComponents => AlternateColorSpace . NumberOfColorComponents ;
479
479
480
480
/// <summary>
481
481
/// Specifies name objects specifying the individual colour components. The length of the array shall
@@ -657,7 +657,7 @@ public sealed class SeparationColorSpaceDetails : ColorSpaceDetails
657
657
public override int NumberOfColorComponents => 1 ;
658
658
659
659
/// <inheritdoc/>
660
- internal override int BaseNumberOfColorComponents => AlternateColorSpace . NumberOfColorComponents ;
660
+ public override int BaseNumberOfColorComponents => AlternateColorSpace . NumberOfColorComponents ;
661
661
662
662
/// <summary>
663
663
/// Specifies the name of the colorant that this Separation color space is intended to represent.
@@ -775,7 +775,7 @@ public sealed class CalGrayColorSpaceDetails : ColorSpaceDetails
775
775
public override int NumberOfColorComponents => 1 ;
776
776
777
777
/// <inheritdoc/>
778
- internal override int BaseNumberOfColorComponents => NumberOfColorComponents ;
778
+ public override int BaseNumberOfColorComponents => NumberOfColorComponents ;
779
779
780
780
private readonly CIEBasedColorSpaceTransformer colorSpaceTransformer ;
781
781
@@ -900,7 +900,7 @@ public sealed class CalRGBColorSpaceDetails : ColorSpaceDetails
900
900
public override int NumberOfColorComponents => 3 ;
901
901
902
902
/// <inheritdoc/>
903
- internal override int BaseNumberOfColorComponents => NumberOfColorComponents ;
903
+ public override int BaseNumberOfColorComponents => NumberOfColorComponents ;
904
904
905
905
private readonly CIEBasedColorSpaceTransformer colorSpaceTransformer ;
906
906
@@ -1045,7 +1045,7 @@ public sealed class LabColorSpaceDetails : ColorSpaceDetails
1045
1045
public override int NumberOfColorComponents => 3 ;
1046
1046
1047
1047
/// <inheritdoc/>
1048
- internal override int BaseNumberOfColorComponents => NumberOfColorComponents ;
1048
+ public override int BaseNumberOfColorComponents => NumberOfColorComponents ;
1049
1049
1050
1050
/// <summary>
1051
1051
/// An array of three numbers [XW YW ZW] specifying the tristimulus value, in the CIE 1931 XYZ space of the
@@ -1196,7 +1196,7 @@ public sealed class ICCBasedColorSpaceDetails : ColorSpaceDetails
1196
1196
public override int NumberOfColorComponents { get ; }
1197
1197
1198
1198
/// <inheritdoc/>
1199
- internal override int BaseNumberOfColorComponents => NumberOfColorComponents ;
1199
+ public override int BaseNumberOfColorComponents => NumberOfColorComponents ;
1200
1200
1201
1201
/// <summary>
1202
1202
/// An alternate color space that can be used in case the one specified in the stream data is not
@@ -1327,7 +1327,7 @@ public sealed class PatternColorSpaceDetails : ColorSpaceDetails
1327
1327
/// Valid for Uncoloured Tiling Patterns. Will throw a <see cref="InvalidOperationException"/> otherwise.
1328
1328
/// </para>
1329
1329
/// </summary>
1330
- internal override int BaseNumberOfColorComponents => UnderlyingColourSpace ! . NumberOfColorComponents ;
1330
+ public override int BaseNumberOfColorComponents => UnderlyingColourSpace ! . NumberOfColorComponents ;
1331
1331
1332
1332
/// <summary>
1333
1333
/// The underlying color space for Uncoloured Tiling Patterns.
@@ -1423,7 +1423,7 @@ public sealed class UnsupportedColorSpaceDetails : ColorSpaceDetails
1423
1423
/// Cannot be called for <see cref="UnsupportedColorSpaceDetails"/>, will throw a <see cref="InvalidOperationException"/>.
1424
1424
/// </para>
1425
1425
/// </summary>
1426
- internal override int BaseNumberOfColorComponents => NumberOfColorComponents ;
1426
+ public override int BaseNumberOfColorComponents => NumberOfColorComponents ;
1427
1427
1428
1428
private UnsupportedColorSpaceDetails ( ) : base ( ColorSpace . DeviceGray )
1429
1429
{
0 commit comments