Explorar el Código

设置为白色背景

jsonwang hace 3 años
padre
commit
1085298f3b
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      BFFramework/Classes/PQGPUImage/Source/iOS/RenderView.swift

+ 1 - 1
BFFramework/Classes/PQGPUImage/Source/iOS/RenderView.swift

@@ -14,7 +14,7 @@ public protocol RenderViewDelegate: class {
 public class RenderView: UIView, ImageConsumer {
     public weak var delegate: RenderViewDelegate?
 
-    public var backgroundRenderColor = Color.black
+    public var backgroundRenderColor = Color.white
     public var fillMode = FillMode.preserveAspectRatio
     public var orientation: ImageOrientation = .portrait
     public var sizeInPixels: Size { return Size(width: Float(frame.size.width * contentScaleFactor), height: Float(frame.size.height * contentScaleFactor)) }