Canvas · Panels: layers, inspector, alignment, assets, style and layout editors
LayerPanel lists the canvas's layers topmost first on lists::Tree: a box shows or hides each, F2 renames, a drag restacks into a new paint order. InspectorPanel edits the one selected shape's frame, fill, visibility and lock. AlignmentToolbar lines up or spreads the selection through `aligned`. AssetPanel finds shapes by name in a picks grid, each drawn to fit its tile. ColorPanel, ShadowEditor, BorderEditor and TypographyPanel edit a look; GradientPanel is forms::GradientEditor. ConstraintsEditor pins a shape to its frame, with `Constraints::placed`; AutoLayoutControls sets flow, gap, padding and a place grid, with `AutoLayout::laid`; ExportPanel names each file once. The panels share `canvas::panel`: editing, pair, caption, heading and color_well. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
7d493b669b
commit
c04c67d39a
32 files changed
+3118
-18
No files matched your search
@@ -1,26 +1,45 @@
|
||||
mod align;
|
||||
mod assets;
|
||||
mod autolayout;
|
||||
mod constraints;
|
||||
mod edit;
|
||||
mod export;
|
||||
mod gesture;
|
||||
mod history;
|
||||
mod inspector;
|
||||
mod layers;
|
||||
mod marks;
|
||||
mod minimap;
|
||||
mod palette;
|
||||
mod panel;
|
||||
mod plane;
|
||||
mod shape;
|
||||
mod style;
|
||||
mod tools;
|
||||
mod typography;
|
||||
mod view;
|
||||
mod zoom;
|
||||
|
||||
#[cfg(all(test, feature = "test-support"))]
|
||||
mod tests;
|
||||
|
||||
pub use align::{Align, AlignmentToolbar, aligned};
|
||||
pub use assets::AssetPanel;
|
||||
pub use autolayout::{AutoLayout, AutoLayoutControls, Flow, Place};
|
||||
pub use constraints::{Constraints, ConstraintsEditor, Pin};
|
||||
pub use edit::{Handle, Tool};
|
||||
pub use export::{ExportFormat, ExportPanel, ExportSetting, export_files};
|
||||
pub use gesture::Brush;
|
||||
pub use history::HistoryPanel;
|
||||
pub use inspector::InspectorPanel;
|
||||
pub use layers::LayerPanel;
|
||||
pub use marks::{SelectionBox, SnapIndicator, TransformHandles};
|
||||
pub use minimap::MiniMap;
|
||||
pub use palette::{BrushSettings, ToolPalette};
|
||||
pub use plane::InfiniteCanvas;
|
||||
pub use shape::{Artboard, Corner, Guide, Shape, ShapeKind};
|
||||
pub use style::{Border, BorderEditor, ColorPanel, Dash, Shadow, ShadowEditor};
|
||||
pub use tools::ToolLayer;
|
||||
pub use typography::{TypeStyle, TypographyPanel};
|
||||
pub use view::{Frame, Viewport};
|
||||
pub use zoom::{ZoomControls, ZoomIndicator};
|
||||
Reference in new issue
Block a user