# `GSFrameView`

*Class*

## Declaration

```swift
class GSFrameView
```

```objc
@interface GSFrameView : NSView
```

```python
class GSFrameView(NSView)
```

## Topics

### Instance Properties

- [`GSFrameView.contentSize`](/Core/GlyphsApp/GSFrameView/contentSize)
- [`GSFrameView.controller`](/Core/GlyphsApp/GSFrameView/controller)
- [`GSFrameView.glyphFrame`](/Core/GlyphsApp/GSFrameView/glyphFrame)
- [`GSFrameView.maximumScale`](/Core/GlyphsApp/GSFrameView/maximumScale)
- [`GSFrameView.minScrollSize`](/Core/GlyphsApp/GSFrameView/minScrollSize)
- [`GSFrameView.minWidth`](/Core/GlyphsApp/GSFrameView/minWidth)
- [`GSFrameView.minimumScale`](/Core/GlyphsApp/GSFrameView/minimumScale)
- [`GSFrameView.safeVisibleRect`](/Core/GlyphsApp/GSFrameView/safeVisibleRect)
- [`GSFrameView.scale`](/Core/GlyphsApp/GSFrameView/scale) — The zoom scale of the view (1.0 = 100%)
- [`GSFrameView.userVisibleRect`](/Core/GlyphsApp/GSFrameView/userVisibleRect)
- [`GSFrameView.zoomText`](/Core/GlyphsApp/GSFrameView/zoomText)

### Instance Methods

- [`GSFrameView scrollPoint:toReferencePoint:`](/Core/GlyphsApp/GSFrameView/scrollPoint:toReferencePoint:) — Scrolls the position of `point` to the position of `referencePoint` in the view.
- [`GSFrameView scrollPointFromPoint:toReferencePoint:`](/Core/GlyphsApp/GSFrameView/scrollPointFromPoint:toReferencePoint:)
- [`GSFrameView scrollPointInSafeArea:`](/Core/GlyphsApp/GSFrameView/scrollPointInSafeArea:)
- [`GSFrameView scrollPointToCentre:`](/Core/GlyphsApp/GSFrameView/scrollPointToCentre:) — Scrolls the view so that the point ends up visually centers.
- [`GSFrameView targetScrollPoint`](/Core/GlyphsApp/GSFrameView/targetScrollPoint) — The scroll origin the viewport animation is animating towards, or the current scroll origin, when no viewport animation is running.
- [`GSFrameView updateViewportToScale:origin:`](/Core/GlyphsApp/GSFrameView/updateViewportToScale:origin:) — Updates the scale and origin (scroll point) of the viewport (visible part of the frame).
- [`GSFrameView userVisibleRectInSafeArea:`](/Core/GlyphsApp/GSFrameView/userVisibleRectInSafeArea:)
- [`GSFrameView zoomViewByFactor:`](/Core/GlyphsApp/GSFrameView/zoomViewByFactor:) — Zoom by the desired scaling factor.
- [`GSFrameView zoomViewByFactor:andCentrePoint:`](/Core/GlyphsApp/GSFrameView/zoomViewByFactor:andCentrePoint:) — Zooms the view by the given factor and centers the passed point.
- [`GSFrameView zoomViewByScale:`](/Core/GlyphsApp/GSFrameView/zoomViewByScale:) — Zooms the view by the given scale in addition to the current scale.
- [`GSFrameView zoomInKeepingPoint:`](/Core/GlyphsApp/GSFrameView/zoomInKeepingPoint:)
- [`GSFrameView zoomViewToRect:centering:inSafeArea:`](/Core/GlyphsApp/GSFrameView/zoomViewToRect:centering:inSafeArea:) — Zooms the view to fit the given target rect, optionally centering it.
- [`GSFrameView zoomViewToAbsoluteScale:`](/Core/GlyphsApp/GSFrameView/zoomViewToAbsoluteScale:) — Zoom to a given absolute value.
- [`GSFrameView zoomViewToFitRect:`](/Core/GlyphsApp/GSFrameView/zoomViewToFitRect:) — Zooms so that the passed rect will fit in the view.
- [`GSFrameView zoomViewToSaveRect:`](/Core/GlyphsApp/GSFrameView/zoomViewToSaveRect:)
- [`GSFrameView zoomFitInWindow:`](/Core/GlyphsApp/GSFrameView/zoomFitInWindow:)
- [`GSFrameView zoomIn`](/Core/GlyphsApp/GSFrameView/zoomIn) — Zoom in (scale up).
- [`GSFrameView zoomIn:`](/Core/GlyphsApp/GSFrameView/zoomIn:)
- [`GSFrameView zoomOut`](/Core/GlyphsApp/GSFrameView/zoomOut) — Zoom out (scale down).
- [`GSFrameView zoomOut:`](/Core/GlyphsApp/GSFrameView/zoomOut:)
- [`GSFrameView zoomOutKeepingPoint:`](/Core/GlyphsApp/GSFrameView/zoomOutKeepingPoint:)
- [`GSFrameView zoomToActualSize`](/Core/GlyphsApp/GSFrameView/zoomToActualSize) — Zooms the view to 100%.
- [`GSFrameView zoomToActualSize:`](/Core/GlyphsApp/GSFrameView/zoomToActualSize:)
- [`GSFrameView zoomViewToVisibleRect:`](/Core/GlyphsApp/GSFrameView/zoomViewToVisibleRect:)

## Relationships

### Inherits From

- `NSView`

