public final class EmfPlusPathGradientBrushOptionalData extends EmfPlusStructureObjectType
The EmfPlusPathGradientBrushOptionalData object specifies optional data for a path gradient brush.
Constructor and Description |
---|
EmfPlusPathGradientBrushOptionalData() |
Modifier and Type | Method and Description |
---|---|
EmfPlusBlendBase |
getBlendPattern()
Gets or sets an optional blend pattern for the path gradient brush.
|
EmfPlusFocusScaleData |
getFocusScaleData()
Gets or sets an optional EmfPlusFocusScaleData object (section 2.2.2.18) that specifies
focus scales for the path gradient brush.
|
Matrix |
getTransformMatrix()
Gets or sets an optional EmfPlusTransformMatrix object (section 2.2.2.47) that specifies a world space to device space transform for the path gradient brush.
|
void |
setBlendPattern(EmfPlusBlendBase value)
Gets or sets an optional blend pattern for the path gradient brush.
|
void |
setFocusScaleData(EmfPlusFocusScaleData value)
Gets or sets an optional EmfPlusFocusScaleData object (section 2.2.2.18) that specifies
focus scales for the path gradient brush.
|
void |
setTransformMatrix(Matrix value)
Gets or sets an optional EmfPlusTransformMatrix object (section 2.2.2.47) that specifies a world space to device space transform for the path gradient brush.
|
public EmfPlusPathGradientBrushOptionalData()
public Matrix getTransformMatrix()
Gets or sets an optional EmfPlusTransformMatrix object (section 2.2.2.47) that specifies a world space to device space transform for the path gradient brush. This field MUST be present if the BrushDataTransform flag is set in the BrushDataFlags field of the EmfPlusPathGradientBrushData object.
public void setTransformMatrix(Matrix value)
Gets or sets an optional EmfPlusTransformMatrix object (section 2.2.2.47) that specifies a world space to device space transform for the path gradient brush. This field MUST be present if the BrushDataTransform flag is set in the BrushDataFlags field of the EmfPlusPathGradientBrushData object.
public EmfPlusBlendBase getBlendPattern()
Gets or sets an optional blend pattern for the path gradient brush. If this field is present, it MUST contain either an EmfPlusBlendColors object (section 2.2.2.4), or an EmfPlusBlendFactors object (section 2.2.2.5), but it MUST NOT contain both. The table below shows the valid combinations of EmfPlusPathGradientBrushData BrushData flags and the corresponding blend patterns:
public void setBlendPattern(EmfPlusBlendBase value)
Gets or sets an optional blend pattern for the path gradient brush. If this field is present, it MUST contain either an EmfPlusBlendColors object (section 2.2.2.4), or an EmfPlusBlendFactors object (section 2.2.2.5), but it MUST NOT contain both. The table below shows the valid combinations of EmfPlusPathGradientBrushData BrushData flags and the corresponding blend patterns:
public EmfPlusFocusScaleData getFocusScaleData()
Gets or sets an optional EmfPlusFocusScaleData object (section 2.2.2.18) that specifies focus scales for the path gradient brush. This field MUST be present if the BrushDataFocusScales flag is set in the BrushDataFlags field of the EmfPlusPathGradientBrushData object.
public void setFocusScaleData(EmfPlusFocusScaleData value)
Gets or sets an optional EmfPlusFocusScaleData object (section 2.2.2.18) that specifies focus scales for the path gradient brush. This field MUST be present if the BrushDataFocusScales flag is set in the BrushDataFlags field of the EmfPlusPathGradientBrushData object.