Documentation ¶
Index ¶
- func NewBlendClippingElements(buf []byte) (bool, error)
- func NewBlendInteriorElements(buf []byte) (bool, error)
- func NewGradientFill(buf []byte) error
- func NewKnockoutSetting(buf []byte) (bool, error)
- func NewLayerID(buf []byte) (int, error)
- func NewLayerName(buf []byte) (string, error)
- func NewLayerNameSource(buf []byte) (string, error)
- func NewLayerVersion(buf []byte) (int, error)
- func NewObjectEffectsLayerInfo(buf []byte) error
- type Artboard
- type ArtboardColor
- type ArtboardRect
- type EffectsLayer
- type EffectsLayerBevel
- type EffectsLayerCommonState
- type EffectsLayerDropShadowAndInnerShadow
- type EffectsLayerInnerGlow
- type EffectsLayerOuterGlow
- type EffectsLayerSolidFill
- type Locked
- type Metadata
- type Reference
- type SectionDivider
- type SheetColor
- type SolidColor
- type Typetool
- type TypetoolRect
- type TypetoolTransform
- type VectorMask
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewGradientFill ¶
func NewKnockoutSetting ¶
func NewLayerID ¶
func NewLayerName ¶
func NewLayerNameSource ¶
func NewLayerVersion ¶
Types ¶
type Artboard ¶
type Artboard struct { Name string `json:"name"` Color *ArtboardColor `json:"color"` Type int `json:"type"` Rect *ArtboardRect `json:"rect"` }
func NewArtboard ¶
type ArtboardColor ¶
type ArtboardRect ¶
type EffectsLayer ¶
type EffectsLayer struct { CommonState *EffectsLayerCommonState DropShadow *EffectsLayerDropShadowAndInnerShadow InnerShadow *EffectsLayerDropShadowAndInnerShadow OuterGlow *EffectsLayerOuterGlow InnerGlow *EffectsLayerInnerGlow Bevel *EffectsLayerBevel SolidFill *EffectsLayerSolidFill }
func NewEffectsLayer ¶
func NewEffectsLayer(buf []byte) (*EffectsLayer, error)
type EffectsLayerBevel ¶
type EffectsLayerBevel struct { Angle float32 StrengthDepth int Blur int HighlightBlendMode string ShadowBlendMode string HighlightColor [2]uint32 ShadowColor [2]uint32 BevelStyle uint8 HighlightOpacity uint8 ShadowOpacity uint8 EffectEnabled bool UseAngle bool UpDown bool RealHighlightColor [2]uint32 RealShadowColor [2]uint32 }
type EffectsLayerCommonState ¶
type EffectsLayerCommonState struct {
Visible bool
}
type EffectsLayerInnerGlow ¶
type EffectsLayerOuterGlow ¶
type EffectsLayerSolidFill ¶
type Metadata ¶
func NewMetadataSetting ¶
type SectionDivider ¶
func NewSectionDividerSetting ¶
func NewSectionDividerSetting(buf []byte) (*SectionDivider, error)
type SheetColor ¶
func NewSheetColorSetting ¶
func NewSheetColorSetting(buf []byte) (*SheetColor, error)
type SolidColor ¶
func NewSolidColorSheetSetting ¶
func NewSolidColorSheetSetting(buf []byte) (*SolidColor, error)
type Typetool ¶
type Typetool struct { Transform *TypetoolTransform TextData *descriptor.Descriptor WarpData *descriptor.Descriptor Rect *TypetoolRect }
type TypetoolTransform ¶
type VectorMask ¶
type VectorMask struct { Invert bool NotLink bool Disable bool Paths []*pathresource.Resource }
func NewVectorMaskSetting ¶
func NewVectorMaskSetting(buf []byte) (*VectorMask, error)
Source Files ¶
- artboard.go
- blend_clipping_elements.go
- blend_interior_elements.go
- effects_layer.go
- gradient_fill.go
- knockout_setting.go
- layer_id.go
- layer_name.go
- layer_name_source.go
- layer_version.go
- locked.go
- metadata_setting.go
- object_effects_layer_info.go
- reference_point.go
- section_divider_setting.go
- sheet_color_setting.go
- solid_color_sheet_setting.go
- typetool.go
- typetool_legacy.go
- vector_mask_setting.go
Click to show internal directories.
Click to hide internal directories.