Module: PSD::Layer::Info

Included in:
PSD::Layer
Defined in:
lib/psd/layer/info.rb

Constant Summary collapse

LAYER_INFO =

All of the extra layer info sections that we know how to parse.

{
  black_white: BlackWhite,
  blend_clipping_elements: BlendClippingElements,
  blend_interior_elements: BlendInteriorElements,
  brightness_contrast: BrightnessContrast,
  channel_blending_restrictions: ChannelBlendingRestrictions,
  channel_mixer: ChannelMixer,
  color_balance: ColorBalance,
  color_lookup: ColorLookup,
  content_generator: ContentGenerator,
  curves: Curves,
  effects_layer: EffectsLayer,
  exposure: Exposure,
  fill_opacity: FillOpacity,
  gradient_fill: GradientFill,
  gradient_map: GradientMap,
  hue_saturation: HueSaturation,
  invert: Invert,
  knockout: Knockout,
  layer_effects: LayerEffects,
  layer_mask_as_global_mask: LayerMaskAsGlobalMask,
  layer_id: LayerID,
  layer_name_source: LayerNameSource,
  legacy_type: LegacyTypeTool,
  levels: Levels,
  locked: Locked,
  metadata: MetadataSetting,
  name: UnicodeName,
  nested_section_divider: NestedLayerDivider,
  object_effects: ObjectEffects,
  pattern_fill: PatternFill,
  photo_filter: PhotoFilter,
  placed_layer: PlacedLayer,
  posterize: Posterize,
  reference_point: ReferencePoint,
  selective_color: SelectiveColor,
  section_divider: LayerSectionDivider,
  sheet_color: SheetColor,
  solid_color: SolidColor,
  threshold: Threshold,
  transparency_shapes_layer: TransparencyShapesLayer,
  type: TypeTool,
  vector_mask: VectorMask,
  vector_mask_as_global_mask: VectorMaskAsGlobalMask,
  vector_origination: VectorOrigination,
  vector_stroke: VectorStroke,
  vector_stroke_content: VectorStrokeContent,
  vibrance: Vibrance
}.freeze
BIG_LAYER_INFO_KEYS =
%w{ LMsk Lr16 Lr32 Layr Mt16 Mt32 Mtrn Alph FMsk lnk2 FEid FXid PxSD }

Instance Attribute Summary collapse

Instance Attribute Details

#adjustmentsObject (readonly) Also known as: info

Returns the value of attribute adjustments.



106
107
108
# File 'lib/psd/layer/info.rb', line 106

def adjustments
  @adjustments
end