diff options
Diffstat (limited to 'xfa/fxfa/parser/cxfa_fill.h')
-rw-r--r-- | xfa/fxfa/parser/cxfa_fill.h | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/xfa/fxfa/parser/cxfa_fill.h b/xfa/fxfa/parser/cxfa_fill.h index ba18b91b72..a5ee7609ee 100644 --- a/xfa/fxfa/parser/cxfa_fill.h +++ b/xfa/fxfa/parser/cxfa_fill.h @@ -9,10 +9,40 @@ #include "xfa/fxfa/parser/cxfa_node.h" +class CXFA_Linear; +class CXFA_Pattern; +class CXFA_Radial; +class CXFA_Stipple; + class CXFA_Fill : public CXFA_Node { public: CXFA_Fill(CXFA_Document* doc, XFA_PacketType packet); ~CXFA_Fill() override; + + bool IsVisible(); + + FX_ARGB GetColor(bool bText); + void SetColor(FX_ARGB color); + + XFA_Element GetFillType() const; + + XFA_AttributeEnum GetPatternType(); + FX_ARGB GetPatternColor(); + + XFA_AttributeEnum GetLinearType(); + FX_ARGB GetLinearColor(); + + int32_t GetStippleRate(); + FX_ARGB GetStippleColor(); + + bool IsRadialToEdge(); + FX_ARGB GetRadialColor(); + + private: + CXFA_Stipple* GetStipple(); + CXFA_Radial* GetRadial(); + CXFA_Linear* GetLinear(); + CXFA_Pattern* GetPattern(); }; #endif // XFA_FXFA_PARSER_CXFA_FILL_H_ |